Browse Source

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>
tags/n2.5
Josh Allmann Anton Khirnov 11 years ago
parent
commit
9a03c23235
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/h263dec.c

+ 2
- 1
libavcodec/h263dec.c View File

@@ -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;


Loading…
Cancel
Save