Skip to content
Snippets Groups Projects
Commit 9a03c232 authored by Josh Allmann's avatar Josh Allmann Committed by Anton Khirnov
Browse files

h263dec: Force padding bug workaround for H.263.

parent d208d1eb
No related branches found
No related tags found
No related merge requests found
...@@ -316,7 +316,8 @@ static int decode_slice(MpegEncContext *s) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment