Mercurial > libavcodec.hg
changeset 11171:57a27888f388 libavcodec
indent
author | michael |
---|---|
date | Sun, 14 Feb 2010 23:10:02 +0000 |
parents | d092ec99cb59 |
children | 458393d0db0a |
files | h264_cabac.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/h264_cabac.c Sun Feb 14 23:06:25 2010 +0000 +++ b/h264_cabac.c Sun Feb 14 23:10:02 2010 +0000 @@ -1688,12 +1688,12 @@ 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;