aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* indeo5: return proper error codesLuca Barbato2013-07-151-24/+30
|
* indeo: Bound-check before applying motion compensationLuca Barbato2013-07-151-12/+17
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* rtsp: Include an User-Agent header field in all requestsMartin Storsjö2013-07-141-0/+1
| | | | | | | | Some rtsp servers like the IP Cam IcyBox IB-CAM2002 need it. Based on a patch by Carl Eugen Hoyos. Signed-off-by: Martin Storsjö <martin@martin.st>
* indeo: Bound-check before applying transformLuca Barbato2013-07-134-18/+58
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: Validate scantable dimensionLuca Barbato2013-07-131-0/+6
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: Check the quantization matrix indexLuca Barbato2013-07-131-0/+5
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: Do not access missing reference MVLuca Barbato2013-07-131-10/+14
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* ac3dec: Consistently use AC3_BLOCK_SIZE and sizeofMartin Storsjö2013-07-131-3/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ac3dec: Increment channel pointers only once per channelMartin Storsjö2013-07-131-3/+3
| | | | | | | | If the channel mapping map multiple output channels to one input channel, we should only increment the actual pointer once. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* jpeg2000: Remove unused passes array in Jpeg200Cblk structureNicolas Bertrand2013-07-131-6/+0
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jpeg2000: Initialize only once mqc arraysNicolas Bertrand2013-07-133-6/+15
| | | | | | Improves decoding speed. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_interlace: better handling of odd video sizeMichael Niedermayer2013-07-121-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: use current syntax for the scale filterSean McGovern2013-07-122-5/+5
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dca: Respect the current limits in the downmixing capabilitiesLuca Barbato2013-07-121-0/+6
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dca: Error out on missing DSYNCLuca Barbato2013-07-121-0/+1
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pcm: always use codec->id instead of codec_idLuca Barbato2013-07-121-1/+1
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vdpau: use the correct namespace for the unionLuca Barbato2013-07-121-3/+3
| | | | | | Vdp is used by libvdpau, use AVVDPAU as used for the rest. Reported-by: Alexis Ballier <aballier@gentoo.org>
* mlpdec: Do not set invalid context in read_restart_headerLuca Barbato2013-07-121-9/+14
| | | | | | | | The faulty values rippled further down the codepath causing a hard-to-track segfault in the assembly code. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* mlpdsp: x86: Respect cpuflagsLuca Barbato2013-07-121-1/+5
|
* pcx: Do not overread source buffer in pcx_rle_decodeLuca Barbato2013-07-121-8/+16
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* pcx: K&R formatting cosmeticsLuca Barbato2013-07-121-57/+59
|
* configure: Check for support for labels in the inline assemblyMartin Storsjö2013-07-112-0/+9
| | | | | | | Use this for enabling the ppc timer.h implementation only on assemblers that support labels in the inline assembly. Signed-off-by: Martin Storsjö <martin@martin.st>
* wmavoice: conceal clearly corrupted blocksLuca Barbato2013-07-101-4/+17
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wmavoice: use init_static_dataLuca Barbato2013-07-101-19/+25
|
* wmavoice: return meaningful error codesLuca Barbato2013-07-101-12/+13
|
* iff: Do not read over the source bufferLuca Barbato2013-07-101-1/+1
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* iff: K&R formatting cosmeticsLuca Barbato2013-07-101-42/+44
|
* qdm2: Conceal broken samplesLuca Barbato2013-07-091-3/+10
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* qdm2: refactor joined stereo supportLuca Barbato2013-07-091-10/+12
| | | | | | | qdm2 does support only two channels. Loop over the run once. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* adpcm: Write the correct number of samples for ima-dk4Luca Barbato2013-07-091-1/+1
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* imc: Catch a division by zeroLuca Barbato2013-07-091-0/+4
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* atrac3: Error on impossible encoding/channel combinationsLuca Barbato2013-07-091-2/+4
| | | | | | | Joint stereo encoded mono is impossible. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* atrac3: set the getbits context the right buffer_endLuca Barbato2013-07-091-1/+1
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* atrac3: fix error handlingLuca Barbato2013-07-091-2/+2
| | | | | | | decode_tonal_components returns a proper AVERROR. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* movenc: Rename the timestamp parameter to dts in write_hint_packetsMartin Storsjö2013-07-081-4/+4
| | | | | | This matches its actual intended use better. Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Make sure the RTP hint tracks have nondecreasing DTSMartin Storsjö2013-07-081-3/+14
| | | | | | | | | The RTP timestamps can be decreasing for codecs with B-frames. For these cases, make sure the timestamps in the MP4 file track itself are nondecreasing, and add an offset to the RTP packet hint instead to produce the intended RTP timestamp. Signed-off-by: Martin Storsjö <martin@martin.st>
* qdm2: check and reset dithering index per channelLuca Barbato2013-07-071-2/+1
| | | | | | | | Checking per subband would have the index exceed the dithering noise table size. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* qdm2: formatting cosmeticsLuca Barbato2013-07-071-187/+204
| | | | | Apply the usual style plus drop few unnecessary return at the end of void functions.
* qdm2: use init_static_dataLuca Barbato2013-07-071-128/+148
|
* westwood_vqa: do not free extradata on error in read_headerLuca Barbato2013-07-071-2/+0
| | | | | | | | The extradata is already freed by avformat_open_input on failure. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vqavideo: check the versionLuca Barbato2013-07-071-0/+11
| | | | | | | Prevent out of buffer write. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cmdutils: wrap exit explicitlyLuca Barbato2013-07-074-45/+70
| | | | | | | | | | Some C runtime implementations deadlock when calling threading functions on the atexit() handler. Use a simpler wrapper similar to av_log to call the cleanup function before exit. Bug-Id: 523
* movenc: K&R formatting cosmeticsMartin Storsjö2013-07-072-197/+198
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Makefile: Remove stray tabsMichael Niedermayer2013-07-071-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vp8: Wait for prev_frame to parse segment_map before reading itRonald S. Bultje2013-07-071-6/+12
| | | | | | | This fixes occasional failures of vp8-test-vector-010 with frame-level multithreading enabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* yuv4mpeg: Correctly round chroma up for odd luma sizesRonald S. Bultje2013-07-071-2/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rmdec: Use the AVIOContext given as parameter in rm_read_metadata()Michael Niedermayer2013-07-071-6/+6
| | | | | | | | | | | | | | | This fixes crashes when playing back certain RealRTSP streams. When invoked from the RTP depacketizer, the full realmedia demuxer isn't invoked, but only certain functions from it, where a separate AVIOContext is passed in as parameter (for the buffer containing the data to parse). The functions called from within those entry points should only be using that parameter, not s->pb. In the depacketizer case, s is the RTSP context, where ->pb is null. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Handle AVERROR_EOF in the same way as the return value 0Michael Niedermayer2013-07-071-1/+1
| | | | | | | | | This makes sure the ffurl_read_complete function actually returns the number of bytes read, as the documentation of the function says, even if the underlying protocol uses AVERROR_EOF instead of 0. Signed-off-by: Martin Storsjö <martin@martin.st>
* wtv: Mark attachment with a negative stream idLuca Barbato2013-07-071-0/+1
| | | | | | | | | A sid 0 would be mismatched to the attachment. Prevent NULL pointer dereference. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* avprobe: rename the prettyprint structuresLuca Barbato2013-07-071-10/+10
|