1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

1 goto 1 fix

Originally committed as revision 4946 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-02-06 11:21:26 +00:00
parent 2e9c78d354
commit 8cb90572a2

View File

@ -231,6 +231,10 @@ void ff_write_quant_matrix(PutBitContext *pb, int16_t *matrix){
const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){ const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
int i; int i;
assert(p<=end);
if(p>=end)
return end;
for(i=0; i<3; i++){ for(i=0; i<3; i++){
uint32_t tmp= *state << 8; uint32_t tmp= *state << 8;
*state= tmp + *(p++); *state= tmp + *(p++);