Commit 0c719dc4 authored by michael's avatar michael

simplify


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13807 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bf27864b
...@@ -244,7 +244,7 @@ static int16_t g726_decode(G726Context* c, int16_t I) ...@@ -244,7 +244,7 @@ static int16_t g726_decode(G726Context* c, int16_t I)
c->ap += (0x200 - c->ap) >> 4; c->ap += (0x200 - c->ap) >> 4;
/* Update Yu and Yl */ /* Update Yu and Yl */
c->yu = av_clip(c->y + (((c->tbls->W[I] << 5) - c->y) >> 5), 544, 5120); c->yu = av_clip(c->y + c->tbls->W[I] + ((-c->y)>>5), 544, 5120);
c->yl += c->yu + ((-c->yl)>>6); c->yl += c->yu + ((-c->yl)>>6);
/* Next iteration for Y */ /* Next iteration for Y */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment