]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/faxcompr: Print the unsupported mode number
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 13 Aug 2015 12:33:39 +0000 (14:33 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 13 Aug 2015 12:39:15 +0000 (14:39 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/faxcompr.c

index eb39ae0b20d487c31e0a01e5d227c2cb0e68a361..5953a5ac6464028ed24da7a264a8c4f257bc3bb6 100644 (file)
@@ -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);