summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* zmbvdec: Check the buffer size for uncompressed dataMichael Niedermayer2013-09-12
| | | | | | | | | Also don't pointlessly set the buffer size to 1 after copying one packet. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* ape: Don't allow the seektable to be omittedMartin Storsjö2013-09-12
| | | | | | | | | The seektable is required for filling in ape->frames[i].pos further down. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* shorten: Break out of loop looking for fmt chunk if none is foundMartin Storsjö2013-09-12
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* shorten: Use a checked bytestream reader for the wave headerMartin Storsjö2013-09-12
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* smacker: Free memory properly if the init function failsMartin Storsjö2013-09-11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* smacker: Make sure we don't fill in huffman codes out of rangeMartin Storsjö2013-09-11
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* smacker: Check malloc return valuesMartin Storsjö2013-09-11
| | | | | | Also try to free local allocations on errors. Signed-off-by: Martin Storsjö <martin@martin.st>
* smacker: Avoid integer overflow when allocating packetsMartin Storsjö2013-09-11
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* smacker: Don't return packets in unallocated streamsMartin Storsjö2013-09-11
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* dsicin: Add some basic sanity checks for fields read from the fileMartin Storsjö2013-09-11
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Fix wrong reference to user support mailing listDiego Biurrun2013-09-11
|
* Drop pointless directory name prefixes from #includes in the current dirDiego Biurrun2013-09-10
|
* doc: Drop VDPAU from list of supported codecsDiego Biurrun2013-09-10
|
* fate.sh: Run git-clone quietlyDiego Biurrun2013-09-10
|
* avformat: Use av_reallocp_array() where suitableAlexandra Khirnova2013-09-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* movenc: Simplify setting the fragmentation flagMartin Storsjö2013-09-09
| | | | | | | This makes sure the faststart vs fragmentation check works as intended when fragmentation is enabled due to using the ismv mode. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Add a warning message if conflicting options have been specifiedMartin Storsjö2013-09-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tcp: Explicitly convert a pointer to a boolean integerMartin Storsjö2013-09-09
| | | | | | | | | This fixes warnings about making integers from pointers without a cast, and avoids the theoretical case where the lower 32 bits of the pointer would all be zero where the implicit cast wouldn't give the right result. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: fix the comparison in an overflow checkAnton Khirnov2013-09-07
| | | | | | CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dv: Add a guard to not overread the ppcm arrayLuca Barbato2013-09-07
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* nuv: check ff_rtjpeg_decode_frame_yuv420 return valueLuca Barbato2013-09-07
| | | | CC: libav-stable@libav.org
* avisynth: K&R formatting cosmeticsDiego Biurrun2013-09-06
|
* avisynth: Add missing #include for NULL_IF_CONFIG_SMALLDiego Biurrun2013-09-06
|
* avcodec: Stop exporting the removed audio_resample* symbolsDiego Biurrun2013-09-05
|
* mpeg12enc: K&R formatting cosmeticsVittorio Giovara2013-09-05
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpeg12enc: drop forward declarationsVittorio Giovara2013-09-05
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mem: Do not check unsigned values for negative sizeDiego Biurrun2013-09-05
|
* mem: Improve documentation wording and spellingDiego Biurrun2013-09-05
|
* matroskaenc: Allow chapters to be written in trailerJohn Stebbins2013-09-04
| | | | | | | | This allows creation of frame accurate chapter marks from sources like DVD and BD where the precise chapter location is not known until the chapter mark has been reached during reading. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo: Avoid 32-bit wrapping of linesize multiplicationsMartin Storsjö2013-09-04
| | | | | | | | | This makes sure that linesize * start_y doesn't overflow, so that emulated_edge_mc can get back the original value if needed. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Describe TB option of setpts filterClifford Wolf2013-09-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mem: Document the av_realloc family of functions properlyLuca Barbato2013-09-04
| | | | realloc() does not accept pointers from memalign().
* build: Report an error message when a pc file is not foundLuca Barbato2013-09-04
| | | | Ease tracking path problems.
* mjpegb: Detect changing number of planes in interlaced videoMichael Niedermayer2013-09-03
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* alac: Check that the channels fit at the given offsetMartin Storsjö2013-09-03
| | | | | | | | | | | | | The code tries to decode a number of channels at the offset given by the ff_alac_channel_layout_offsets table. Even if the number of channels decoded so far doesn't exceed the total number of channels, we need to check that we actually can decode that number of channels at this offset as well. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* 4xm: Check that the read track value is non-negativeMartin Storsjö2013-09-03
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* matroskadec: Check that .lang was allocated and set before reading itMartin Storsjö2013-09-03
| | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* alac: Limit max_samples_per_frameMartin Storsjö2013-09-03
| | | | | | | | | | Otherwise buffer size calculations in allocate_buffers could overflow later, making the code think a large enough buffer actually was allocated. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Don't flush after each written packetMartin Storsjö2013-09-03
| | | | | | | | | | This should improve write performance quite significantly. --- Tested with both writing a normal mp4, by using the faststart feature and writing a fragmented mp4 file; all turn out with the same md5sum as before. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Fix ATRAC codec name spellingDiego Biurrun2013-09-02
|
* ape demuxer: check for EOF in potentially long loopsAnton Khirnov2013-09-02
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: check that bits per sample is strictly positiveAnton Khirnov2013-09-02
| | | | | | | Avoids a divide by zero. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* lavf: avoid integer overflow when estimating bitrateAnton Khirnov2013-09-02
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* lavf: move a variable declaration to the block where it's usedAnton Khirnov2013-09-02
|
* pictordec: pass correct context to avpriv_request_sampleAnton Khirnov2013-09-02
| | | | | | | Fixes invalid reads. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pictordec: break out of both decoding loops when y drops below 0Anton Khirnov2013-09-02
| | | | | | | | Otherwise picmemset can get called with negative y, resulting in an invalid write. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vcr1: add sanity checksAnton Khirnov2013-09-02
| | | | | | | Fixes invalid reads with corrupted files. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pcm-dvd: Fix build on big endianMartin Storsjö2013-08-31
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add docdir configuration optionVittorio Giovara2013-08-31
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_lut: ConstantizeDiego Elio Pettenò2013-08-31
| | | | | | | The pixel format tables are never modified, mark them as constant. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>