diff options
author | Nikolas Bowe <[email protected]> | 2019-02-04 17:02:19 -0800 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2019-02-07 00:29:01 +0100 |
commit | 2b8458fcc5d503d0587f14d1fe9107878691cbae (patch) | |
tree | 11822b7d3b2c662b7be834deef59f9e366c6ba8d /libavutil/pixelutils.c | |
parent | 1aa796bc9c65580e0d369076add4d6017486fbd2 (diff) |
avformat/movenc: Add more error checking when writing sample entries.
Fixes a problem where a sample entry which cannot be written correctly appears to succeed, but produces an invalid file.
For example, this command:
ffmpeg -f lavfi -i sine=frequency=1000:duration=5 -codec:a ac3 -movflags +empty_moov -frag_duration 5000000 /tmp/foo.mp4
produced a file with the ac-3 sample entry, but no AC3SpecificBox (dac3) child, which is invalid according to ETSI TS 102 366.
Reviewed-by: Baptiste Coudurier <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavutil/pixelutils.c')
0 files changed, 0 insertions, 0 deletions