summaryrefslogtreecommitdiff
path: root/fftools
diff options
context:
space:
mode:
authorNikolas Bowe <nbowe-at-google.com@ffmpeg.org>2019-02-04 17:02:19 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2019-02-07 00:29:01 +0100
commit2b8458fcc5d503d0587f14d1fe9107878691cbae (patch)
tree11822b7d3b2c662b7be834deef59f9e366c6ba8d /fftools
parent1aa796bc9c65580e0d369076add4d6017486fbd2 (diff)
downloadffmpeg-2b8458fcc5d503d0587f14d1fe9107878691cbae.tar.gz
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 <baptiste.coudurier@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'fftools')
0 files changed, 0 insertions, 0 deletions