mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 21:08:59 +08:00
missing " && j<syncpoint_count" protection in the index parsing, as the
spec instructs... Originally committed as revision 11852 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -501,7 +501,7 @@ static int find_and_decode_index(NUTContext *nut){
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
assert(n<=syncpoint_count+1);
|
assert(n<=syncpoint_count+1);
|
||||||
for(; j<n; j++){
|
for(; j<n && j<syncpoint_count; j++){
|
||||||
if(has_keyframe[j]){
|
if(has_keyframe[j]){
|
||||||
uint64_t B, A= ff_get_v(bc);
|
uint64_t B, A= ff_get_v(bc);
|
||||||
if(!A){
|
if(!A){
|
||||||
|
Reference in New Issue
Block a user