mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00: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:
parent
103d74ea5c
commit
b19e3983cf
@ -501,7 +501,7 @@ static int find_and_decode_index(NUTContext *nut){
|
||||
return -1;
|
||||
}
|
||||
assert(n<=syncpoint_count+1);
|
||||
for(; j<n; j++){
|
||||
for(; j<n && j<syncpoint_count; j++){
|
||||
if(has_keyframe[j]){
|
||||
uint64_t B, A= ff_get_v(bc);
|
||||
if(!A){
|
||||
|
Loading…
Reference in New Issue
Block a user