From db8a64cba0ae8ae9d0d7c0b8a7801996ed2c958e Mon Sep 17 00:00:00 2001
From: Loren Merritt <lorenm@u.washington.edu>
Date: Thu, 16 Feb 2006 01:16:12 +0000
Subject: [PATCH] don't arbitrarily limit delta_qp

Originally committed as revision 5026 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/h264.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index a90f9facd54..962d0b6325a 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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;
     }
 
-- 
GitLab