Workaround adjustments for DivX 6.1 and later
authorLord <Lord_veryrandomD8@yahoo.com>
Wed, 13 Jun 2007 08:25:48 +0000 (08:25 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Wed, 13 Jun 2007 08:25:48 +0000 (08:25 +0000)
patch by Lord: [ Lord_veryrandomD8 yahoo com ]

Originally committed as revision 9300 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263dec.c

index 88bc200..3d60fc1 100644 (file)
@@ -453,11 +453,11 @@ retry:
             s->workaround_bugs|= FF_BUG_UMP4;
         }
 
-        if(s->divx_version>=500){
+        if(s->divx_version>=500 && s->divx_build<1814){
             s->workaround_bugs|= FF_BUG_QPEL_CHROMA;
         }
 
-        if(s->divx_version>502){
+        if(s->divx_version>502 && s->divx_build<1814){
             s->workaround_bugs|= FF_BUG_QPEL_CHROMA2;
         }