Merge commit '8e34089e26'
* commit '8e34089e26':
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue