avcodec/h263dec: Document padding_bug_score heuristic used for wrong stuffing
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
314994051b
commit
dc7a8f7310
@ -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 &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user