don't arbitrarily limit delta_qp
authorLoren Merritt <lorenm@u.washington.edu>
Thu, 16 Feb 2006 01:16:12 +0000 (01:16 +0000)
committerLoren Merritt <lorenm@u.washington.edu>
Thu, 16 Feb 2006 01:16:12 +0000 (01:16 +0000)
Originally committed as revision 5026 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index a90f9fa..962d0b6 100644 (file)
@@ -5484,7 +5484,7 @@ static int decode_cabac_mb_dqp( H264Context *h) {
         else
             ctx = 3;
         val++;
-        if(val > 52) //prevent infinite loop
+        if(val > 102) //prevent infinite loop
             return INT_MIN;
     }