summaryrefslogtreecommitdiff
path: root/ffmpeg/libavcodec/xwddec.c
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
committerTim Redfern <tim@eclectronics.org>2013-12-29 12:19:38 +0000
commitf7813a5324be39d13ab536c245d15dfc602a7849 (patch)
treefad99148b88823d34a5df2f0a25881a002eb291b /ffmpeg/libavcodec/xwddec.c
parentb7a5a477b8ff4d4e3028b9dfb9a9df0a41463f92 (diff)
basic type mechanism working
Diffstat (limited to 'ffmpeg/libavcodec/xwddec.c')
-rw-r--r--ffmpeg/libavcodec/xwddec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg/libavcodec/xwddec.c b/ffmpeg/libavcodec/xwddec.c
index 66a2fe9..c28e19f 100644
--- a/ffmpeg/libavcodec/xwddec.c
+++ b/ffmpeg/libavcodec/xwddec.c
@@ -141,7 +141,7 @@ static int xwd_decode_frame(AVCodecContext *avctx, void *data,
}
if (pixformat != XWD_Z_PIXMAP) {
- av_log(avctx, AV_LOG_ERROR, "pixmap format %d unsupported\n", pixformat);
+ avpriv_report_missing_feature(avctx, "Pixmap format %d", pixformat);
return AVERROR_PATCHWELCOME;
}
@@ -239,9 +239,9 @@ static int xwd_decode_frame(AVCodecContext *avctx, void *data,
AVCodec ff_xwd_decoder = {
.name = "xwd",
+ .long_name = NULL_IF_CONFIG_SMALL("XWD (X Window Dump) image"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_XWD,
.decode = xwd_decode_frame,
.capabilities = CODEC_CAP_DR1,
- .long_name = NULL_IF_CONFIG_SMALL("XWD (X Window Dump) image"),
};