You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit '8e34089e265a6b01e1e3301e8864439d26793753'
* commit '8e34089e265a6b01e1e3301e8864439d26793753': movenc: Check that frag_info entries exist in mov_write_sidx_tag Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
@@ -3680,6 +3680,8 @@ static int mov_write_sidx_tag(AVIOContext *pb,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
entries = track->nb_frag_info;
|
entries = track->nb_frag_info;
|
||||||
|
if (entries <= 0)
|
||||||
|
return 0;
|
||||||
presentation_time = track->frag_info[0].time;
|
presentation_time = track->frag_info[0].time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user