summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* iff: validate CMAP palette sizeKostya Shishkov2013-03-18
| | | | | | | | | Fixes CVE-2013-2495 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Luca Barbato <lu_zero@gentoo.org> CC: libav-stable@libav.org
* asfenc: return error on negative timestampLuca Barbato2013-03-18
| | | | | | | According to the specification the timestamp is represented by a 32bit unsigned. CC: libav-stable@libav.org
* lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappersAnton Khirnov2013-03-17
| | | | | It is supposed to be height * linesize, not width * linesize. Thanks to Hendrik Leppkes for pointing out the bug.
* document the release processReinhard Tartler2013-03-16
|
* af_join: do not leak input frames.Anton Khirnov2013-03-16
|
* asrc_anullsrc: return EOF, not -1Anton Khirnov2013-03-16
|
* asrc_anullsrc: do not set samplerate and channel layout explicitlyAnton Khirnov2013-03-16
| | | | They are auto-negotiated.
* vf_showinfo: remove its useless init functionAnton Khirnov2013-03-16
| | | | | Filter private data is memset to 0 so there is no point in explicitly initing anything to 0.
* AVOptions: fix using named constants with child contexts.Anton Khirnov2013-03-16
| | | | | The named constant needs to be searched for in the same object on which the option is set, i.e. target_obj.
* AVOption: remove an unused function parameter.Anton Khirnov2013-03-16
|
* filters.texi: restore mistakenly removed section name for noformatAnton Khirnov2013-03-16
|
* avfiltergraph: use sizeof(var) instead of sizeof(type)Anton Khirnov2013-03-16
|
* avfiltergraph: replace AVFilterGraph.filter_count with nb_filtersAnton Khirnov2013-03-16
| | | | This is more consistent with the naming in the rest of Libav.
* lavfi: use designated initializers in avfilter_classAnton Khirnov2013-03-16
|
* lavf: sanity check size in av_get/append_packet().Anton Khirnov2013-03-15
| | | | | | To avoid allocating ridiculous amounts of memory for corrupted files, read the input in chunks limited to filesize or an arbitrary large amount when that is not known (chosen to be 50M).
* lzo: fix overflow checking in copy_backptr()Xi Wang2013-03-15
| | | | | | | | | | | | | The check `src > dst' in the form `&c->out[-back] > c->out' invokes pointer overflow, which is undefined behavior in C. Remove the check. Also replace `&c->out[-back] < c->out_start' with a safe form `c->out - c->out_start < back' to avoid overflow. CC: libav-stable@libav.org Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* flacdec: simplify bounds checking in flac_probe()Xi Wang2013-03-15
| | | | | | | | | | | Simplify `p->buf > p->buf + p->buf_size - 4' as `p->buf_size < 4'. Avoid a possible out-of-bounds pointer, which is undefined behavior in C. CC: libav-stable@libav.org Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* atrac3: avoid oversized shifting in decode_bytes()Xi Wang2013-03-15
| | | | | | | | | | | | | | When `off' is 0, `0x537F6103 << 32' in the following expression invokes undefined behavior, the result of which is not necessarily 0. (0x537F6103 >> (off * 8)) | (0x537F6103 << (32 - (off * 8))) Avoid oversized shifting. CC: libav-stable@libav.org Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* add support for Monkey's Audio versions from 3.93Kostya Shishkov2013-03-15
|
* ape: provide two additional bytes in buffer for old MAC versionsKostya Shishkov2013-03-15
| | | | Range coder in 3.90-3.95 overread two bytes in the final normalize.
* ape: make version-dependent decoding functions called via pointersKostya Shishkov2013-03-15
| | | | | | | This will help in supporting old versions, e.g. version 3.93 uses the same range coder but different predictor and version 3.82 uses different range coder and predictor. Also this should not make decoding newer versions slower by introducing additional checks on versions.
* mpegts: add support for stream_type 0x42, which is CAVSCan Wu2013-03-15
| | | | | | This allows demuxing and muxing of CAVS TS streams. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: mark attachment streams as immediately finishedAnton Khirnov2013-03-15
| | | | | There are never any packets for those streams. Fixes an infinite loop with -attach.
* vaapi: fix argument for ff_vaapi_common_end_frame callJanne Grunau2013-03-14
|
* avcodec: av_log_missing_feature(1) ---> avpriv_request_sample()Diego Biurrun2013-03-13
|
* avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()Diego Biurrun2013-03-13
|
* rsodec: Use avpriv_report_missing_feature() where appropriateDiego Biurrun2013-03-13
|
* avformat: av_log_ask_for_sample() ---> avpriv_request_sample()Diego Biurrun2013-03-13
|
* av_log_missing_feature() ---> avpriv_report_missing_feature()Diego Biurrun2013-03-13
|
* Add av_log_{ask_for_sample|missing_feature} replacements to libavutilDiego Biurrun2013-03-13
| | | | | This allows reporting missing features and requesting samples from all libraries in a standard way; with a simplified API.
* ismindex: Check the return value of allocationsMartin Storsjö2013-03-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Factorize code for printing chunk duration listsMartin Storsjö2013-03-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ismindex: Rename structs and fields from "file" to "track"Martin Storsjö2013-03-13
| | | | | | | The tool nowadays supports more than one track per file, this makes reading the code slightly less confusing. Signed-off-by: Martin Storsjö <martin@martin.st>
* avpacket: copy side data type and size in av_dup_packetJanne Grunau2013-03-13
|
* hqdn3d: Fix out of array read in LOWPASSLoren Merritt2013-03-13
| | | | | CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cabac: remove unused argument of ff_init_cabac_states()Michael Niedermayer2013-03-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rawdec: fix a typo -- || instead of |Nicolas George2013-03-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: request a read buffer for the wav headerLuca Barbato2013-03-12
| | | | | | Solve an infiniloop. CC: libav-stable@libav.org
* dsputil: convert remaining functions to use ptrdiff_t stridesLuca Barbato2013-03-12
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Add informative messages to av_log_ask_for_sample calls lacking themDiego Biurrun2013-03-12
|
* anm: Get rid of some very silly goto statementsDiego Biurrun2013-03-12
|
* vda: remove async decoder leftoversLuca Barbato2013-03-12
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avframe: call release_buffer only if it is setJanne Grunau2013-03-11
| | | | | | AVCodecContext release_buffer() shall be NULL for audio codecs using get_buffer. The backward compatibility code hence have to check before calling it.
* pthread: unref the decoded but not returned frames on close.Anton Khirnov2013-03-11
| | | | | Fixes memleaks when frame mt is used and the decoder is not flushed at the end.
* h264: check that DPB is allocated before accessing it in flush_dpb()Anton Khirnov2013-03-11
|
* vf_hqdn3d: fix uninitialized variable useAnton Khirnov2013-03-11
| | | | CC:libav-stable@libav.org
* vf_gradfun: fix uninitialized variable useAnton Khirnov2013-03-11
| | | | CC:libav-stable@libav.org
* h264_refs: cosmetics, reformatAnton Khirnov2013-03-11
|
* h264: remove a useless svq3 conditionAnton Khirnov2013-03-11
| | | | The svq3 decoder does not call ff_h264_frame_start() anymore.
* mpegvideo: remove FMT_H264Anton Khirnov2013-03-11
|