summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* h264: reject mismatching luma/chroma bit depths during sps parsingAnton Khirnov2014-01-06
| | | | | | | | | | There is no point in delaying the check and it avoids bugs with a half-initialized context. Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* h264: rebuild the default ref list if the reference count changesAnton Khirnov2014-01-06
| | | | | | | Fixes possible access to freed memory. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* cavsdec: check ff_get_buffer() return valueAnton Khirnov2014-01-06
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* lavc: do not leak the internal frame if opening the codec failsAnton Khirnov2014-01-06
|
* lavf: remove a pointless checkAnton Khirnov2014-01-06
| | | | AVStream.codec is always non-NULL
* oggparseogm: check timing variablesAnton Khirnov2014-01-06
| | | | | | | Fixes a potential divide by zero. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* lavc: add 422/444 YUV with alpha to align_dimensions()Anton Khirnov2014-01-06
| | | | Aligns frame dimensions to 16, which fixes potential invalid writes.
* lagarith: do not call simd functions on unaligned linesKostya Shishkov2014-01-06
| | | | | | | | | | They end up overwriting past the line end. Partially based on a patch by Michael Niedermayer <michaelni@gmx.at> Bug-Id: vlc/9700 Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* sgidec: fix buffer size check in expand_rle_row()Anton Khirnov2014-01-06
| | | | | | | Right now it will spuriously fail if the linesize is exactly equal to the data width. CC:libav-stable@libav.org
* kgv1dec: replace forcing EMU_EDGE by a copyAnton Khirnov2014-01-06
| | | | | | | | | | | The decoder currently sets CODEC_FLAG_EMU_EDGE and relies on get_buffer2() to always provide buffers with linesize == 2 * width. This is wrong, since we place no such restriction on get_buffer2() implementations. Fix this by decoding into internal buffers and copying them to output frames. Since this is a very obscure decoder, the performance hit should not be an issue.
* 4xm: replace forcing EMU_EDGE by a copyAnton Khirnov2014-01-06
| | | | | | | | | | | The decoder currently sets CODEC_FLAG_EMU_EDGE and relies on get_buffer2() to always provide buffers with linesize == 2 * width. This is wrong, since we place no such restriction on get_buffer2() implementations. Fix this by decoding into internal buffers and copying them to output frames. Since this is a very obscure decoder, the performance hit should not be an issue.
* 4xm: return a proper error code.Anton Khirnov2014-01-06
|
* hevc: rename some HEVC conformance streamsGuillaume Martres2014-01-06
| | | | | | | | | Some HEVC conformance streams zip on http://wftp3.itu.int/av-arch/jctvc-site/bitstream_exchange/draft_conformance/ were updated without changing the actual stream. Rename them in FATE accordingly to make it easier to track future stream updates. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: add new conformance streamsGuillaume Martres2014-01-06
| | | | | | | Also remove superseded conformance streams. The conformance streams all come from http://wftp3.itu.int/av-arch/jctvc-site/bitstream_exchange/draft_conformance/ Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cmdutils: update copyright year to 2014.Johan Andersson2014-01-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* (e)ac3dec: set AV_FRAME_DATA_MATRIXENCODING side data.Tim Walker2014-01-05
|
* (e)ac3: parse and store the Dolby Surround, Surround EX and Headphone mode ↵Tim Walker2014-01-05
| | | | flags.
* mlpdec: set AV_FRAME_DATA_MATRIXENCODING side data.Tim Walker2014-01-05
|
* mlp: Parse TrueHD decoder channel modifiers and set the AVMatrixEncoding for ↵Tim Walker2014-01-05
| | | | each substream.
* dcadec: set AV_FRAME_DATA_MATRIXENCODING side data.Tim Walker2014-01-05
|
* dcadec: set the output channel mode more accurately.Tim Walker2014-01-05
| | | | | | When downmixing 2.1 to 2-channel, if the 2.0 portion is Lt/Rt, sum-difference or dual mono, the actual output will be the same (with the LFE either mixed-in or discarded). Also, when downmixing an arbitrary layout to 2-channel, if the bitstream contains custom downmix coefficients targeting Lt/Rt, then the output will be Lt/Rt rather than regular Stereo.
* avframe: add AV_FRAME_DATA_MATRIXENCODING side data type.Tim Walker2014-01-05
| | | | Includes a libavcodec utility function to update a frame's side data.
* lavu: Add values for various Dolby flags to the AVMatrixEncoding enum.Tim Walker2014-01-05
|
* configure: Support preprocessor macros as header namesDiego Biurrun2014-01-05
| | | | | | | | | | New versions of FreeType have moved the location of their API header(s) and hide the location behind a macro. Since the location changes between versions and no other way to know the location exists, this workaround becomes necessary. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* sdp: Check that fmt->oformat is non-null before accessing itMartin Storsjö2014-01-05
| | | | | | | | This avoids crashes when avserver tries to create an SDP, since d77f4af. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Update AAC ELD 5.1 ref for recent bugfixes.Alex Converse2014-01-04
|
* aac: Fix low delay windowing.Alex Converse2014-01-04
| | | | AAC LD uses a low overlap sine window instead of a KBD window.
* fate: Add a test vector for AAC ELD with TNS.Alex Converse2014-01-04
|
* aac: Fix TNS decoding for the 512 sample window family.Alex Converse2014-01-04
|
* fate: Add a downsampled SBR testvectorAlex Converse2014-01-04
|
* arm: Use the matching endfunc macro instead of the assembler directive directlyMartin Storsjö2014-01-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add a missing endfunc macro callMartin Storsjö2014-01-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: remove disabled bfin asmAnton Khirnov2014-01-03
| | | | It has been disabled as 'broken' over 3 years ago in b716a792
* mpegvideo: move dct_unquantize functions up to avoid forward declarationsAnton Khirnov2014-01-03
|
* mpegvideo: split the encoding-only parts of frame_start() into a separate ↵Anton Khirnov2014-01-03
| | | | | | | function This introduces some code duplication. However, much of it should go away once the decoders stop using MpegEncContext.
* FATE: add a test for the lavr mixing case fixed in ↵Anton Khirnov2014-01-03
| | | | fc6a3ef40d34ce8443ae57c2452f3f273d7d4891
* tests/Makefile: allow FILTER* to be called with lists of filter namesAnton Khirnov2014-01-03
|
* audio_mix: print (SKIP) instead of 0.0 for matrix columns removed along with ↵Anton Khirnov2014-01-03
| | | | output zeroing
* audio_mix: fix zeroing output channels in certain casesAnton Khirnov2014-01-03
| | | | | | | | | | | Specifically, when the corresponding input channel exists and its matrix column is all-zero (which is necessary for zeroing the output), the matrix column must be removed from the matrix. This is not done currently, so the mixing code would end up using uninitialized pointers from stack. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* audio_mix: initialize the data pointers to NULLAnton Khirnov2014-01-03
| | | | | | | This should make it easier to catch problems where some of those pointers are used uninitialized, since reading from NULL should always crash, while random numbers from stack can turn out to be valid pointers, so random memory may be silently overwritten.
* h264: reset data_partitioning if decoding the slice header for NAL_DPA failsAnton Khirnov2014-01-03
| | | | | | | | If it was set before then we can end up trying to decode a slice without a valid slice header, which can lead to invalid memory access. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* lzw: switch to bytestream2Anton Khirnov2014-01-03
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* pmpdec: check that there is at least one audio packet.Anton Khirnov2014-01-03
| | | | | | | | The code cannot handle there being none, but that should not happen for valid files. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* mathematics: remove asserts from av_rescale_rnd()Anton Khirnov2014-01-03
| | | | It is a public function, it must not assert on its parameters.
* eacmv: check the framerate before setting it.Anton Khirnov2014-01-03
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* adx: check that the offset is not negativeAnton Khirnov2014-01-03
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* rv30: fix extradata size check.Anton Khirnov2014-01-03
| | | | | | | | It has been checking the number of bits in the offset instead of the actual offset. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* mpegvideo: set reference/pict_type on generated reference framesAnton Khirnov2014-01-03
| | | | | | | | | Otherwise the generic code will unref them, which can then result in last_picture_ptr == current_picture_ptr, which causes deadlocks at least in rv40. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* Makefile: add html template files to the doxygen depsAnton Khirnov2014-01-01
|
* lavu: Move preprocessor macros in a separate fileLuca Barbato2013-12-29
| | | | And remove all the circular inclusions of avutil.h while at it.