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:
commit
6c52432b48
@ -3680,6 +3680,8 @@ static int mov_write_sidx_tag(AVIOContext *pb,
|
||||
}
|
||||
} else {
|
||||
entries = track->nb_frag_info;
|
||||
if (entries <= 0)
|
||||
return 0;
|
||||
presentation_time = track->frag_info[0].time;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user