[FFmpeg-cvslog] avcodec/faxcompr: Print the unsupported mode number

Michael Niedermayer git at videolan.org
Thu Aug 13 16:35:30 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Aug 13 14:33:39 2015 +0200| [bd2d4cc4a94e7ad1eb2d2949c4db7edfb23fb059] | committer: Michael Niedermayer

avcodec/faxcompr: Print the unsupported mode number

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/faxcompr.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c
index eb39ae0..5953a5a 100644
--- a/libavcodec/faxcompr.c
+++ b/libavcodec/faxcompr.c
@@ -211,7 +211,8 @@ static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
                 mode = !mode;
             }
         } else if (cmode == 9 || cmode == 10) {
-            avpriv_report_missing_feature(avctx, "Special modes support");
+            int xxx = get_bits(gb, 3);
+            avpriv_report_missing_feature(avctx, "Special mode %d xxx=%d support", cmode, xxx);
             return AVERROR_PATCHWELCOME;
         } else { //vertical mode
             run      = run_off - offs + (cmode - 5);



More information about the ffmpeg-cvslog mailing list