summaryrefslogtreecommitdiff
path: root/libavcodec/cpia.c
diff options
context:
space:
mode:
authorStephan Hilb <stephan@ecshi.net>2014-04-06 21:06:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-07 01:33:53 +0200
commit541bebd41401d0bc3a2430541faebd55cc021149 (patch)
tree6438688050e40f57acee331239c055232dbe0289 /libavcodec/cpia.c
parent5dae3cf35729d21b231d4ccc6153509d95bf89ba (diff)
lavc/cpia: use avpriv_report_missing_feature()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/cpia.c')
-rw-r--r--libavcodec/cpia.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/cpia.c b/libavcodec/cpia.c
index d4fc70142a..9036cb37fc 100644
--- a/libavcodec/cpia.c
+++ b/libavcodec/cpia.c
@@ -76,15 +76,15 @@ static int cpia_decode_frame(AVCodecContext *avctx,
// currently unsupported properties
if (header[17] == SUBSAMPLE_422) {
- av_log(avctx, AV_LOG_ERROR, "Unsupported subsample!\n");
+ avpriv_report_missing_feature(avctx, "4:2:2 subsampling");
return AVERROR_PATCHWELCOME;
}
if (header[18] == YUVORDER_UYVY) {
- av_log(avctx, AV_LOG_ERROR, "Unsupported YUV byte order!\n");
+ avpriv_report_missing_feature(avctx, "YUV byte order UYVY");
return AVERROR_PATCHWELCOME;
}
if (header[29] == DECIMATION_ENAB) {
- av_log(avctx, AV_LOG_ERROR, "Decimation unsupported!\n");
+ avpriv_report_missing_feature(avctx, "Decimation");
return AVERROR_PATCHWELCOME;
}