- 16 Mar, 2013 2 commits
-
-
Anton Khirnov authored
This is more consistent with the naming in the rest of Libav.
-
Anton Khirnov authored
-
- 15 Mar, 2013 9 commits
-
-
Anton Khirnov authored
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).
-
Xi Wang authored
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>
-
Xi Wang authored
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>
-
Xi Wang authored
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>
-
Kostya Shishkov authored
-
Kostya Shishkov authored
Range coder in 3.90-3.95 overread two bytes in the final normalize.
-
Kostya Shishkov authored
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 authored
This allows demuxing and muxing of CAVS TS streams. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
There are never any packets for those streams. Fixes an infinite loop with -attach.
-
- 14 Mar, 2013 1 commit
-
-
Janne Grunau authored
-
- 13 Mar, 2013 13 commits
-
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
This allows reporting missing features and requesting samples from all libraries in a standard way; with a simplified API.
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
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>
-
Janne Grunau authored
-
Loren Merritt authored
CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Michael Niedermayer authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Nicolas George authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 12 Mar, 2013 5 commits
-
-
Luca Barbato authored
Solve an infiniloop. CC: libav-stable@libav.org
-
Luca Barbato authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Luca Barbato authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 11 Mar, 2013 10 commits
-
-
Janne Grunau authored
AVCodecContext release_buffer() shall be NULL for audio codecs using get_buffer. The backward compatibility code hence have to check before calling it.
-
Anton Khirnov authored
Fixes memleaks when frame mt is used and the decoder is not flushed at the end.
-
Anton Khirnov authored
-
Anton Khirnov authored
CC:libav-stable@libav.org
-
Anton Khirnov authored
CC:libav-stable@libav.org
-
Anton Khirnov authored
-
Anton Khirnov authored
The svq3 decoder does not call ff_h264_frame_start() anymore.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
The h264 decoder does not use mpegvideo anymore. The svq3 decoder only uses ff_draw_horiz_band().
-