Commit 9a03c232 authored by Josh Allmann's avatar Josh Allmann Committed by Anton Khirnov

h263dec: Force padding bug workaround for H.263.

Fixes decoding of http://samples.mplayerhq.hu/V-codecs/h263/h263-raw/messenger.h263Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent d208d1eb
......@@ -316,7 +316,8 @@ static int decode_slice(MpegEncContext *s)
}
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;
else
s->workaround_bugs &= ~FF_BUG_NO_PADDING;
......
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