[SCM] libav/experimental: fixing padding bug autodetection for some rare files, closes bug #647941
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:35:28 UTC 2013
The following commit has been merged in the experimental branch:
commit d671e2feac59bb5bb6c2883980eadb92e0c8ac89
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Fri Feb 28 01:59:56 2003 +0000
fixing padding bug autodetection for some rare files, closes bug #647941
Originally committed as revision 1613 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 6540182..3fd7fb3 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -530,9 +530,11 @@ retry:
if(s->divx_version)
s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE;
//printf("padding_bug_score: %d\n", s->padding_bug_score);
+ if(s->divx_version==501 && s->divx_build==20020416)
+ s->padding_bug_score= 256*256*256*64;
#if 0
if(s->divx_version==500)
- s->workaround_bugs|= FF_BUG_NO_PADDING;
+ s->padding_bug_score= 256*256*256*64;
/* very ugly XVID padding bug detection FIXME/XXX solve this differently
* lets hope this at least works
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list