You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
h263dec: Force padding bug workaround for H.263.
Fixes decoding of http://samples.mplayerhq.hu/V-codecs/h263/h263-raw/messenger.h263 Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
committed by
Anton Khirnov
parent
d208d1eba3
commit
9a03c23235
@@ -316,7 +316,8 @@ static int decode_slice(MpegEncContext *s)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (s->workaround_bugs & FF_BUG_AUTODETECT) {
|
if (s->workaround_bugs & FF_BUG_AUTODETECT) {
|
||||||
if (s->padding_bug_score > -2 && !s->data_partitioning)
|
if (s->codec_id == AV_CODEC_ID_H263 ||
|
||||||
|
(s->padding_bug_score > -2 && !s->data_partitioning))
|
||||||
s->workaround_bugs |= FF_BUG_NO_PADDING;
|
s->workaround_bugs |= FF_BUG_NO_PADDING;
|
||||||
else
|
else
|
||||||
s->workaround_bugs &= ~FF_BUG_NO_PADDING;
|
s->workaround_bugs &= ~FF_BUG_NO_PADDING;
|
||||||
|
Reference in New Issue
Block a user