Mercurial > libavcodec.hg
diff mpeg12.c @ 6372:48a6bbc1c633 libavcodec
Reduce the number of senselessly scanned bytes.
| author | michael |
|---|---|
| date | Tue, 19 Feb 2008 15:55:14 +0000 |
| parents | 0ed0d9d578ad |
| children | 464938b9c2b0 |
line wrap: on
line diff
--- a/mpeg12.c Tue Feb 19 07:24:00 2008 +0000 +++ b/mpeg12.c Tue Feb 19 15:55:14 2008 +0000 @@ -1869,7 +1869,7 @@ } } 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); return 0; }
