mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-25 16:21:13 +00:00
This fixes the code so it is correct on both sides of the if().
Originally committed as revision 12902 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7bc5f6e53e
commit
8870cf8277
@ -51,11 +51,13 @@ get_next:
|
|||||||
}else{
|
}else{
|
||||||
i-= s->header_size -1;
|
i-= s->header_size -1;
|
||||||
s->remaining_size = len;
|
s->remaining_size = len;
|
||||||
if(!new_frame_start)
|
if(!new_frame_start){
|
||||||
|
s->remaining_size += i;
|
||||||
goto get_next;
|
goto get_next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(ff_combine_frame(pc, i, &buf, &buf_size)<0){
|
if(ff_combine_frame(pc, i, &buf, &buf_size)<0){
|
||||||
s->remaining_size -= FFMIN(s->remaining_size, buf_size);
|
s->remaining_size -= FFMIN(s->remaining_size, buf_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user