- 20 3月, 2013 3 次提交
-
-
由 Janne Grunau 提交于
-
由 Janne Grunau 提交于
AVCodecContext.bits_per_raw_sample is updated from the previous thread in the generic update function before the codec specific update_thread function is called. The check for reinitialization of dsp functions uses bits_per_raw_sample. When called from update_thread_context it will be already at the current value and the dsp functions aren't updated if only the bit depth changes.
-
由 Martin Storsjö 提交于
do_adobe_auth takes the parameters in the order "opaque, challenge". Due to the way they are treated, this didn't matter in the tested setups though - if both are set, we only use one. In the tested setups (Wowza and Akamai) either one of them were null or they were both set to the same value, which is why this worked before. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 19 3月, 2013 10 次提交
-
-
由 Hendrik Leppkes 提交于
This ensures the hwaccel privdata does not leak when a frame buffer could not be allocated (and toggle the assert when the frame is re-used). Having no frame buffer available is quite common when using the DXVA2 hwaccel in situations where the DXVA2 renderer is being re-allocated, for example when moving between displays. Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-
由 Hendrik Leppkes 提交于
This ensures the hwaccel privdata does not leak when a frame buffer could not be allocated (and toggle the assert when the frame is re-used). Having no frame buffer available is quite common when using the DXVA2 hwaccel in situations where the DXVA2 renderer is being re-allocated, for example when moving between displays. Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-
由 Hendrik Leppkes 提交于
Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-
由 Hendrik Leppkes 提交于
Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
Vertical shift is log2_chroma_h, not log2_chroma_w.
-
由 Anton Khirnov 提交于
Number of planes is not always equal to the number of components even for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components in two planes.
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
It just shadows the corresponding AVOption and prevents using named constants.
-
由 Anton Khirnov 提交于
This reverts commit d1bec33b, it breaks FATE.
-
- 18 3月, 2013 4 次提交
-
-
由 Anton Khirnov 提交于
Those are not usable from the avtools, so mentioning them in the manpages just confuses the reader.
-
由 Anton Khirnov 提交于
The total frame size is a combination of the 12 bits in the sequence header and 2 more bits in the the sequence extension. While the specification explicitly forbids the dimensions from the sequence header from being 0 (thus ruling out multiples of 4096), such videos apparrently exist in the wild so we should attempt to decode them. Based on a patch by Michael Niedermayer <michaelni@gmx.at> Fixes Bug 416.
-
由 Kostya Shishkov 提交于
Fixes CVE-2013-2495 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: NLuca Barbato <lu_zero@gentoo.org> CC: libav-stable@libav.org
-
由 Luca Barbato 提交于
According to the specification the timestamp is represented by a 32bit unsigned. CC: libav-stable@libav.org
-
- 17 3月, 2013 2 次提交
-
-
由 Anton Khirnov 提交于
It is supposed to be height * linesize, not width * linesize. Thanks to Hendrik Leppkes for pointing out the bug.
-
由 Reinhard Tartler 提交于
-
- 16 3月, 2013 11 次提交
-
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
They are auto-negotiated.
-
由 Anton Khirnov 提交于
Filter private data is memset to 0 so there is no point in explicitly initing anything to 0.
-
由 Anton Khirnov 提交于
The named constant needs to be searched for in the same object on which the option is set, i.e. target_obj.
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
This is more consistent with the naming in the rest of Libav.
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
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).
-
- 15 3月, 2013 8 次提交
-
-
由 Xi Wang 提交于
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: NXi Wang <xi.wang@gmail.com> Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
由 Xi Wang 提交于
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: NXi Wang <xi.wang@gmail.com> Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
由 Xi Wang 提交于
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: NXi Wang <xi.wang@gmail.com> Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
由 Kostya Shishkov 提交于
-
由 Kostya Shishkov 提交于
Range coder in 3.90-3.95 overread two bytes in the final normalize.
-
由 Kostya Shishkov 提交于
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.
-
由 Can Wu 提交于
This allows demuxing and muxing of CAVS TS streams. Signed-off-by: NAnton Khirnov <anton@khirnov.net>
-
由 Anton Khirnov 提交于
There are never any packets for those streams. Fixes an infinite loop with -attach.
-
- 14 3月, 2013 2 次提交
-
-
由 Janne Grunau 提交于
-
由 Diego Biurrun 提交于
-