mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Reduce the number of senselessly scanned bytes.
Originally committed as revision 12144 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c367d0c653
commit
0521808158
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user