Commit 98168bc3 authored by michael's avatar michael

Reduce the number of senselessly scanned bytes.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12144 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cbf02185
...@@ -1869,7 +1869,7 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y, ...@@ -1869,7 +1869,7 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
} }
} }
eos: // end of slice eos: // end of slice
*buf += get_bits_count(&s->gb)/8 - 1; *buf += (get_bits_count(&s->gb)-1)/8;
//printf("y %d %d %d %d\n", s->resync_mb_x, s->resync_mb_y, s->mb_x, s->mb_y); //printf("y %d %d %d %d\n", s->resync_mb_x, s->resync_mb_y, s->mb_x, s->mb_y);
return 0; return 0;
} }
......
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