[FFmpeg-cvslog] r21827 - trunk/libavcodec/h264_cabac.c
michael
subversion
Mon Feb 15 00:10:02 CET 2010
Author: michael
Date: Mon Feb 15 00:10:02 2010
New Revision: 21827
Log:
indent
Modified:
trunk/libavcodec/h264_cabac.c
Modified: trunk/libavcodec/h264_cabac.c
==============================================================================
--- trunk/libavcodec/h264_cabac.c Mon Feb 15 00:06:25 2010 (r21826)
+++ trunk/libavcodec/h264_cabac.c Mon Feb 15 00:10:02 2010 (r21827)
@@ -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;
More information about the ffmpeg-cvslog
mailing list