summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* wmalosslessdec: Fix reading too many bits in decode_channel_residues()Anton Khirnov2012-09-291-1/+1
| | | | | | | | | | Fixes a part of CVE-2012-2795 CC:libav-stable@libav.org Based on a patch by Michael Niedermayer <michaelni@gmx.at> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* wmalosslessdec: fix a get_bits(0) in decode_ac_filterMichael Niedermayer2012-09-291-1/+2
| | | | | | | | | Fixes a part of CVE-2012-2795 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wmalosslessdec: make MCLMS arrays big enough for what is written into them.Michael Niedermayer2012-09-291-2/+2
| | | | | | | | | Fixes a part of CVE-2012-2795 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* indeo4/5: check empty tile size in decode_mb_info().Anton Khirnov2012-09-291-3/+14
| | | | | | | | | | | | | This prevents writing into a too small array if some parameters changed without the tile being reallocated. Based on a patch by Michael Niedermayer <michaelni@gmx.at> Fixes CVE-2012-2800 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* ivi_common: make ff_ivi_process_empty_tile() static.Anton Khirnov2012-09-292-15/+12
| | | | It's not used outside of ivi_common.c
* indeo5: check tile size in decode_mb_info().Michael Niedermayer2012-09-291-0/+6
| | | | | | | | | | | | This prevents writing into a too small array if some parameters changed without the tile being reallocated. Fixes CVE-2012-2794 CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* indeo3: fix out of cell write.Anton Khirnov2012-09-291-0/+3
| | | | | | | | Fixes CVE-2012-2776. CC:libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* wmalosslessdec: increase channel_coeffs/residues sizeAnton Khirnov2012-09-291-2/+5
| | | | | | Fixes CVE-2012-2792 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* wmalosslessdec: increase WMALL_BLOCK_MAX_BITS to 14.Anton Khirnov2012-09-291-1/+1
|
* lagarith: check count before writing zeros.Michael Niedermayer2012-09-291-0/+5
| | | | | | | Fixes CVE-2012-2793 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wmaprodec: check num_vec_coeffs for validityMichael Niedermayer2012-09-291-1/+6
| | | | | | | Fixes CVE-2012-2789 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avidec: use actually read size instead of requested sizeAnton Khirnov2012-09-291-1/+1
| | | | Fixes CVE-2012-2788
* avidec: return 0, not packet size from read_packet().Anton Khirnov2012-09-291-1/+1
|
* indeo4: update AVCodecContext width/height on size changeMichael Niedermayer2012-09-291-0/+1
| | | | | | | Fixes CVE-2012-2787 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* dfa: check that the caller set width/height properly.Anton Khirnov2012-09-291-0/+6
| | | | Fixes CVE-2012-2786.
* indeo5dec: Make sure we have had a valid gop header.Michael Niedermayer2012-09-293-2/+10
| | | | | | | | | This prevents decoding happening on a half initialized context. Fixes CVE-2012-2779 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cavsdec: check for changing w/h.Michael Niedermayer2012-09-291-2/+11
| | | | | | | | | Our decoder does not support changing w/h. Fixes CVE-2012-2777 and CVE-2012-2784. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: set channel count from channel layout in avcodec_open2().Anton Khirnov2012-09-291-4/+9
| | | | | Some decoders (e.g. nellymoser) only set channel_layout and do not set channel count.
* doc/platform: Rework the Visual Studio linking sectionDerek Buitenhuis2012-09-281-41/+20
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doc/faq: Change the Visual Studio entry to reflect current statusDerek Buitenhuis2012-09-281-21/+2
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doc/platform: Replace Visual Studio section with build instructionsDerek Buitenhuis2012-09-281-13/+68
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doc/platform: Nuke section on linking static MinGW-built libs with MSVCDerek Buitenhuis2012-09-281-59/+0
| | | | | | | | This practice is not supported by the MinGW developers, and even requires patching the MinGW runtimes in newer versions. Furthermore, we now support build with MSVC, so this section is rendered useless. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doc/platform: Remove false claim about MinGW installerDerek Buitenhuis2012-09-281-15/+0
| | | | | | | This works just fine, and has for quite a while, using the mingw-get installer. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doc/platform: Mention MinGW-w64Derek Buitenhuis2012-09-281-4/+5
| | | | | | This is the toolchain most, including Libav's nightlies, use to build. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* dsputil_mmx: fix reading prior of the src array in sub_hfyu_median_prediction()Michael Niedermayer2012-09-281-1/+3
| | | | | | This should fix the utvideoenc valgrind failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mpegaudiodec: fix short_start calculationLuca Barbato2012-09-281-1/+1
| | | | | | | The value should be always 3, as it follows from the specification. Fix a stack buffer overflow in exponents_from_scale_factors as reported by asan. Thanks to Dale Curtis for the sample vector.
* libopus: Remap channels using libopus' internal remapping.Nathan Caldwell2012-09-281-25/+12
| | | | | | | | This way we can directly remap channels from Opus' channel order to libav's internal channel order, instead of mapping channels from Opus' order to Vorbis' order then to libav's order. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Opus decoder using libopusNicolas George2012-09-287-1/+213
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avcodec: document the use of AVCodecContext.delay for audio decodingNathan Caldwell2012-09-281-7/+10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1dec: add flush function for WMV9 and VC-1 decodersKostya Shishkov2012-09-281-0/+2
| | | | CC: libav-stable@libav.org
* http: Increase buffer sizes to cope with longer URIsDuncan Salerno2012-09-281-5/+8
| | | | | | | | | | | | | Use the MAX_URL_SIZE define where applicable. Increase buffer sizes for all buffers that need to fit a long pathname - buffers that need to fit only the hostname (and other short strings, but not the pathname - such as "headers" in http_connect) are kept at 1024 bytes for now. Also increase the max line length in http_read_header, since it might need to contain a full url for Location: redirects. Signed-off-by: Martin Storsjö <martin@martin.st>
* nutenc: const correctness for ff_put_v_trace/put_s_trace function argumentsDiego Biurrun2012-09-271-2/+6
|
* h264_refs: Fix debug tprintf argument typesDiego Biurrun2012-09-271-2/+2
|
* golomb: const correctness for get_ue()/get_se() function argumentsDiego Biurrun2012-09-271-2/+6
|
* get_bits: const correctness for get_bits_trace()/get_xbits_trace() argumentsDiego Biurrun2012-09-271-3/+3
|
* dwt: Drop unused functions spatial_compose{53|97}i()Diego Biurrun2012-09-271-18/+0
|
* nutdec: Remove unused and broken debug function stubDiego Biurrun2012-09-271-10/+0
|
* avcodec: Drop long-deprecated imgconvert.h headerDiego Biurrun2012-09-274-47/+0
|
* Add Opus support to the Ogg muxer.Nathan Caldwell2012-09-272-6/+52
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Add Opus codec id and codec description.Andrew D'Addesio2012-09-273-1/+9
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avformat: Identify anonymous AVIO typedef structs.Dale Curtis2012-09-271-2/+2
| | | | | | | | | | Anonymous typedef structs prevent forward declaration, this change gives the AVIOContext and AVIOInterruptCB structures a name. These structures are now in line with other common structures such as AVFormatContext and AVCodecContext. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* nutdec: const correctness for get_v_trace/get_s_trace function argumentsDiego Biurrun2012-09-261-4/+4
|
* truemotion2: Request samples for old TM2 headersDiego Biurrun2012-09-261-1/+1
|
* rtpdec: Remove a useless ff_ prefix from a static symbolMartin Storsjö2012-09-261-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Support depacketizing speexDmitry Samonenko2012-09-262-1/+8
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Add support for packetizing speexDmitry Samonenko2012-09-263-1/+6
| | | | | | | This packetization scheme simply places the full packets into the RTP packet without any extra header bytes. Signed-off-by: Martin Storsjö <martin@martin.st>
* xsub: feed init_get_bits the whole bufferAlexandre Colucci2012-09-251-4/+7
| | | | | | | | | | | Do not use rlelen field for buffer size in init_get_bits, it is only the size of the data for the first field. Since it is not reliable, just use the size of the whole buffer. Additional comments add removal of unused rlelen variable by Reimar Döffinger. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libfdk-aac: Allow setting VBR modes via a private optionMartin Storsjö2012-09-251-2/+4
| | | | | | | | This avoids using the global_quality field and QSCALE flag for passing the VBR modes, since the value range of the global_quality field doesn't really map cleanly to this codec's VBR modes. Signed-off-by: Martin Storsjö <martin@martin.st>
* libfdk-aac: Warn the user that the VBR modes are unsupportedMartin Storsjö2012-09-251-0/+3
| | | | | | | | | These modes were not originally exposed by the library at all. In practice, only a few of them work for each sample rate/profile combination, and they don't work at all for the more uncommon sample rates. Signed-off-by: Martin Storsjö <martin@martin.st>
* Revert "cbrt_tablegen: Include libm.h"Derek Buitenhuis2012-09-251-1/+0
| | | | | | | This code runs on the host and should not use libm.h, which is meant for the target. This reverts commit 2768b717987d4e19d2774890d7d84aef531b1d9f.
OpenPOWER on IntegriCloud