Browse Source

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>
tags/n2.8
Hendrik Leppkes 10 years ago
parent
commit
6c52432b48
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/movenc.c

+ 2
- 0
libavformat/movenc.c View File

@@ -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…
Cancel
Save