indent
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 14 Feb 2010 23:10:02 +0000 (23:10 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 14 Feb 2010 23:10:02 +0000 (23:10 +0000)
Originally committed as revision 21827 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264_cabac.c

index 6a8f3bc..da5ec14 100644 (file)
@@ -1688,12 +1688,12 @@ decode_intra_mb:
                 val= -((val + 1)>>1);
             h->last_qscale_diff = val;
             s->qscale += val;
-        if(((unsigned)s->qscale) > 51){
-            if(s->qscale<0) s->qscale+= 52;
-            else            s->qscale-= 52;
-        }
-        h->chroma_qp[0] = get_chroma_qp(h, 0, s->qscale);
-        h->chroma_qp[1] = get_chroma_qp(h, 1, s->qscale);
+            if(((unsigned)s->qscale) > 51){
+                if(s->qscale<0) s->qscale+= 52;
+                else            s->qscale-= 52;
+            }
+            h->chroma_qp[0] = get_chroma_qp(h, 0, s->qscale);
+            h->chroma_qp[1] = get_chroma_qp(h, 1, s->qscale);
         }else
             h->last_qscale_diff=0;