[FFmpeg-cvslog] lavc/cpia: use avpriv_report_missing_feature()

Stephan Hilb git at videolan.org
Mon Apr 7 02:15:21 CEST 2014


ffmpeg | branch: master | Stephan Hilb <stephan at ecshi.net> | Sun Apr  6 21:06:05 2014 +0200| [541bebd41401d0bc3a2430541faebd55cc021149] | committer: Michael Niedermayer

lavc/cpia: use avpriv_report_missing_feature()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=541bebd41401d0bc3a2430541faebd55cc021149
---

 libavcodec/cpia.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/cpia.c b/libavcodec/cpia.c
index d4fc701..9036cb3 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;
     }
 



More information about the ffmpeg-cvslog mailing list