Commit 7ceab4af authored by Michael Niedermayer's avatar Michael Niedermayer

avoid 2 additions (1 cpu cycle) per MB

Originally committed as revision 9843 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5bfbf0a5
......@@ -1776,8 +1776,8 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
}
s->dest[0] += 16 >> lowres;
s->dest[1] += 16 >> (s->chroma_x_shift + lowres);
s->dest[2] += 16 >> (s->chroma_x_shift + lowres);
s->dest[1] +=(16 >> lowres) >> s->chroma_x_shift;
s->dest[2] +=(16 >> lowres) >> s->chroma_x_shift;
MPV_decode_mb(s, s->block);
......
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