1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/tools
erankor dc16c9dd90 qt-faststart - stco offset bug fix
when the last offsets in the stco atom are close to 4GB, the addition of
the moov atom size can overflow, causing corruption near the end of the
mp4 file.
this patch upgrades all stco atoms to co64 when such an edge case is
detected. in order to accomplish this, the implementation was changed to
walk the atom tree, instead of searching for the strings 'stco'/'co64'.
this was required since when an stco atom is changed to co64, its size
changes, and the sizes of all containing atoms (moov, trak, etc.) have
to be updated as well.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-06-13 21:55:19 +02:00
..
.gitignore Merge commit '257f00ec1ab06a2a161f535036c6512f3fc8e801' 2016-06-22 11:28:51 +02:00
aviocat.c lav*,tests: remove several register_all calls 2018-04-02 03:26:22 +01:00
bisect-create Remove the ffserver program 2018-01-06 18:31:37 +00:00
bookmarklets.html tools/bookmarklets: HTML code fixes 2015-12-25 17:54:58 +01:00
cl2c tools/cl2c: Add a copyright header 2017-11-22 23:55:23 +00:00
clean-diff
coverity.c tools/coverity: Add model for av_realloc 2016-11-30 15:21:57 -08:00
crypto_bench.c tools/crypto_bench: add missing RC4 implementation from tomcrypt 2018-05-30 14:45:26 -03:00
cws2fws.c Merge commit '30dfc1dad4285e7362ce3f596d7c5d5d9b7fb33d' 2015-06-12 22:46:10 +02:00
dvd2concat fix some a/an typos 2016-03-28 14:13:17 -08:00
enum_options.c lav*,tests: remove several register_all calls 2018-04-02 03:26:22 +01:00
ffescape.c
ffeval.c
ffhash.c tools/ffhash: read errno before calling functions which might change it 2014-10-25 16:12:16 +02:00
fourcc2pixfmt.c tools/fourcc2pixfmt: fix usages of av_get_codec_tag_string() 2017-03-29 14:49:29 +02:00
gen-rc
graph2dot.c lav*,tests: remove several register_all calls 2018-04-02 03:26:22 +01:00
ismindex.c lav*,tests: remove several register_all calls 2018-04-02 03:26:22 +01:00
libav-merge-next-commit doc: move out merge script to tools 2016-09-25 19:27:51 +02:00
loudnorm.rb tools: add loudnorm script example to use loudnorm 2016-11-11 19:22:52 +01:00
make_chlayout_test
Makefile tools: add sofa2wavs 2017-06-12 18:08:52 +02:00
missing_codec_desc
murge doc&tools: Add murge script, for analyzing 3 way conflicts. 2016-08-22 18:54:03 +02:00
normalize.py tools/normalize.py: both input and output file names are required 2014-09-02 07:31:34 +02:00
patcheck patcheck: Add 'threshhold' to common typo list 2017-12-13 12:25:44 +01:00
pktdumper.c lav*,tests: remove several register_all calls 2018-04-02 03:26:22 +01:00
plotframes
probetest.c lav*,tests: remove several register_all calls 2018-04-02 03:26:22 +01:00
qt-faststart.c qt-faststart - stco offset bug fix 2018-06-13 21:55:19 +02:00
seek_print.c lav*,tests: remove several register_all calls 2018-04-02 03:26:22 +01:00
sidxindex.c lav*,tests: remove several register_all calls 2018-04-02 03:26:22 +01:00
sofa2wavs.c tools/sofa2wavs: add license header 2017-06-12 22:14:30 +02:00
target_dec_fuzzer.c avcodec/allcodecs: Provide empty codec_list in allcodecs when ossfuzz is used 2018-05-28 23:17:32 +02:00
trasher.c tools/trasher: Check fseek returns 2015-02-22 16:49:56 +01:00
uncoded_frame.c lav*,tests: remove several register_all calls 2018-04-02 03:26:22 +01:00
unwrap-diff
yuvcmp.c
zmqsend.c tools/zmqsend: Do not truncate fgetc() return 2016-12-24 14:46:25 +01:00
zmqshell.py