Commit dc7a8f73 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h263dec: Document padding_bug_score heuristic used for wrong stuffing

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 31499405
...@@ -318,6 +318,7 @@ static int decode_slice(MpegEncContext *s) ...@@ -318,6 +318,7 @@ static int decode_slice(MpegEncContext *s)
av_assert1(s->mb_x == 0 && s->mb_y == s->mb_height); av_assert1(s->mb_x == 0 && s->mb_y == s->mb_height);
// Detect incorrect padding with wrong stuffing codes used by NEC N-02B
if (s->codec_id == AV_CODEC_ID_MPEG4 && if (s->codec_id == AV_CODEC_ID_MPEG4 &&
(s->workaround_bugs & FF_BUG_AUTODETECT) && (s->workaround_bugs & FF_BUG_AUTODETECT) &&
get_bits_left(&s->gb) >= 48 && get_bits_left(&s->gb) >= 48 &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment