Mercurial > libavcodec.hg
changeset 6372:48a6bbc1c633 libavcodec
Reduce the number of senselessly scanned bytes.
author | michael |
---|---|
date | Tue, 19 Feb 2008 15:55:14 +0000 |
parents | f1d701294a89 |
children | e56b22861426 |
files | mpeg12.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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; }