- 31 Jul, 2018 1 commit
-
-
Carl Eugen Hoyos authored
-
- 15 Jun, 2018 1 commit
-
-
erankor authored
instead of stdout Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 13 Jun, 2018 2 commits
-
-
erankor authored
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>
-
erankor authored
avoid trying to allocate an unreasonably sized buffer on corrupt files Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 30 May, 2018 1 commit
-
-
erankor authored
1. validate the moov size before checking for cmov atom 2. avoid performing arithmetic operations on unvalidated numbers 3. verify the stco/co64 offset count does not overflow the stco/co64 atom (not only the moov atom) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 31 Aug, 2017 1 commit
-
-
Martin Storsjö authored
The toolchain for this target is unmaintained since many years. While it has been continuously build tested on fate, it hasn't actually been tested at runtime since many, many years (and back then, only a few codecs in libavcodec were tested). So far, keeping support for it has been mostly effortless, but the compiler does seem to have issues with dllimported data symbols, ending up as internal compiler errors in some cases. Instead of jumping through further hoops to work around that, just remove the target. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 24 Nov, 2016 1 commit
-
-
Martin Storsjö authored
These functions are not available on mingw32ce. Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 22 Aug, 2014 1 commit
-
-
Diego Biurrun authored
This avoids a number of redefinition warnings on MinGW64.
-
- 28 Feb, 2014 8 commits
-
-
Lou Logan authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Without this cast, the BE_32() expression is sign extended when assigned to an uint64_t, since the uint8_t|uint8_t expression is promoted to an int. Also avoid undefined behaviour when left shifting an uint8_t by 24 by casting it to an uint32_t explicitly before shifting. Based on a patch by Michael Niedermayer. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
This silences a warning in the coverity static analyzer. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
These variables are assigned the return values of ftello, which returns an off_t, which is a signed type. On errors, ftello returns -1, thus make sure this error return value can be stored properly. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
qt-faststart doesn't use the normal libav headers at all since it's supposed to be a completely standalone tool, so we implement the macro locally in this file. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Copying data in chunks of 1 KB is a little wasteful. 64 KB should still easily fit on the stack, so there's no need to allocate it dynamically. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 07 Jan, 2014 1 commit
-
-
Lou Logan authored
-
- 02 Jun, 2013 2 commits
-
-
Michael Niedermayer authored
Fixes: CID733809 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes CID733810 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 13 Dec, 2012 1 commit
-
-
Michael Niedermayer authored
Fixes CID733836 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 29 Oct, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 24 Oct, 2012 1 commit
-
-
Michael Niedermayer authored
Fixes CID739863 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 22 Oct, 2012 1 commit
-
-
Michael Niedermayer authored
Fixes CID733725 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 10 Oct, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 30 Sep, 2012 3 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Jan Ehrhardt authored
qt-faststart is terribly slow when the input file and the output file are on a slow disk like a SD card. By increasing the copy_buffer from 1K to 32M I decreased the processing time on a sample file from 1600 seconds to 4 seconds. The timing difference is during 'copying rest of file'. S:\SD_VIDEO\PRG001>e:\utils\qt-faststart 00005.mp4 5.mp4 ftyp 0 32 free 32 8 mdat 40 13744391 moov 13744431 141848 patching stco atom... patching stco atom... writing ftyp atom... writing moov atom... copying rest of file... Execution time: 1576.259 s S:\SD_VIDEO\PRG001>s:\utils\qt-faststart 00005.mp4 5.mp4 ftyp 0 32 free 32 8 mdat 40 13744391 moov 13744431 141848 patching stco atom... patching stco atom... writing ftyp atom... writing moov atom... copying rest of file... Execution time: 3.846 s Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 28 Aug, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 25 Jan, 2012 1 commit
-
-
Diego Biurrun authored
-
- 30 Dec, 2011 1 commit
-
-
Diego Biurrun authored
-
- 29 Dec, 2011 1 commit
-
-
Martin Storsjö authored
This restores indentation after 65b875d8. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 19 Mar, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 21 Jun, 2010 1 commit
-
-
Baptiste Coudurier authored
Originally committed as revision 23672 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 13 May, 2010 4 commits
-
-
Martin Storsjö authored
If the atom size is 0, qt-faststart currently hangs forever while scanning the file. Originally committed as revision 23129 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
Martin Storsjö authored
Originally committed as revision 23127 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
Martin Storsjö authored
Originally committed as revision 23126 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
Martin Storsjö authored
Originally committed as revision 23125 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 09 May, 2010 1 commit
-
-
Martin Storsjö authored
Originally committed as revision 23065 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 01 May, 2010 2 commits
-
-
Martin Storsjö authored
Originally committed as revision 23008 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
Martin Storsjö authored
Originally committed as revision 23007 to svn://svn.ffmpeg.org/ffmpeg/trunk
-