diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-02-14 23:10:02 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-02-14 23:10:02 +0000 |
commit | 8b38d10761264992ea8324db0a39d7590010fce3 (patch) | |
tree | 49814a222ed008720a1386e75bd41bfe1de17d57 /libavcodec/h264_cabac.c | |
parent | f4b8b825141a54b0fe9c5413882a61f8e4e46fb3 (diff) | |
download | ffmpeg-8b38d10761264992ea8324db0a39d7590010fce3.tar.gz |
indent
Originally committed as revision 21827 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r-- | libavcodec/h264_cabac.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c index 6a8f3bc407..da5ec147d6 100644 --- a/libavcodec/h264_cabac.c +++ b/libavcodec/h264_cabac.c @@ -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; |