summaryrefslogtreecommitdiff
path: root/libavcodec/faxcompr.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-08-13 14:33:39 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-13 14:39:15 +0200
commitbd2d4cc4a94e7ad1eb2d2949c4db7edfb23fb059 (patch)
tree1c556dca8686bcde212804ed1a6cb2f65cf2ea5a /libavcodec/faxcompr.c
parentacbd78a001e137d37139295ae68753886cea0a04 (diff)
downloadffmpeg-bd2d4cc4a94e7ad1eb2d2949c4db7edfb23fb059.tar.gz
avcodec/faxcompr: Print the unsupported mode number
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/faxcompr.c')
-rw-r--r--libavcodec/faxcompr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c
index eb39ae0b20..5953a5ac64 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);