mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
indent
Originally committed as revision 21827 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f4b8b82514
commit
8b38d10761
@ -1688,12 +1688,12 @@ decode_intra_mb:
|
|||||||
val= -((val + 1)>>1);
|
val= -((val + 1)>>1);
|
||||||
h->last_qscale_diff = val;
|
h->last_qscale_diff = val;
|
||||||
s->qscale += val;
|
s->qscale += val;
|
||||||
if(((unsigned)s->qscale) > 51){
|
if(((unsigned)s->qscale) > 51){
|
||||||
if(s->qscale<0) s->qscale+= 52;
|
if(s->qscale<0) s->qscale+= 52;
|
||||||
else s->qscale-= 52;
|
else s->qscale-= 52;
|
||||||
}
|
}
|
||||||
h->chroma_qp[0] = get_chroma_qp(h, 0, s->qscale);
|
h->chroma_qp[0] = get_chroma_qp(h, 0, s->qscale);
|
||||||
h->chroma_qp[1] = get_chroma_qp(h, 1, s->qscale);
|
h->chroma_qp[1] = get_chroma_qp(h, 1, s->qscale);
|
||||||
}else
|
}else
|
||||||
h->last_qscale_diff=0;
|
h->last_qscale_diff=0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user