avcodec/faxcompr: Print the unsupported mode number

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-08-13 14:33:39 +02:00
parent acbd78a001
commit bd2d4cc4a9
1 changed files with 2 additions and 1 deletions

View 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);