Changeset 8e34089 in ffmpeg

Timestamp:
Aug 10, 2015, 6:46:03 AM (9 years ago)
Author:
Martin Storsjö <martin@martin.st>
Branches:
master
Children:
6c52432b, 83f254e6
Parents:
1542ec9
git-author:
Martin Storsjö <martin@martin.st> (08/09/15 19:36:25)
git-committer:
Martin Storsjö <martin@martin.st> (08/10/15 06:46:03)
Message:

movenc: Check that frag_info entries exist in mov_write_sidx_tag

This fixes crashes with pathological cases when trying to write
a sidx index (via the -movflags faststart option, in combination
with fragmenting options), when no fragments actually have been
written. (This is possible if the empty_moov flag isn't used,
so that all actual packet data is written in the moov/mdat pair,
and no moof/mdat pairs have been written.)

In these pathological cases, no sidx should be written at all.

Signed-off-by: Martin Storsjö <martin@martin.st>

(No files)

Note: See TracChangeset for help on using the changeset viewer.