# HG changeset patch # User michael # Date 1185915169 0 # Node ID d248295bd595820e64eb107fca7579356b12b63f # Parent 4e7308c09d2e8736f5baaa24aa6b4a0b13fe5c61 avoid 2 additions (1 cpu cycle) per MB diff -r 4e7308c09d2e -r d248295bd595 mpeg12.c --- a/mpeg12.c Tue Jul 31 20:44:48 2007 +0000 +++ b/mpeg12.c Tue Jul 31 20:52:49 2007 +0000 @@ -1776,8 +1776,8 @@ } 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);