- 08 Mar, 2013 4 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Ronald S. Bultje authored
These could be used for reference counting, or for keeping track of decoding progress in references in multithreaded decoders. Support is provided by gcc/msvc/suncc intrinsics, with a fallback using pthread mutexes. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Alexander Kojevnikov authored
When parsing the Xing/Info tag, don't set the bit rate if it's an Info tag. When parsing the stream, don't override the bit rate if it's already set, otherwise calculate the mean bit rate from parsed frames. This way, the bit rate will be set correctly both for CBR and VBR streams. CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 07 Mar, 2013 13 commits
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Martin Storsjö authored
This breaks the dependency of mpegvideo on error_resilience allowing compilation of components that depend on the former w/o the latter.
-
Diego Biurrun authored
-
Reimar Döffinger authored
Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Reimar Döffinger authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Ronald S. Bultje authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Ronald S. Bultje authored
This makes the decoder independent of mpegvideo. This copy of the draw_horiz_band code is simplified compared to the "generic" mpegvideo one which still has a number of special cases for different codecs. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Stefano Sabatini authored
Make av_get_codec_tag_string() show codec tag string characters in a more intelligible ways. For example the ascii char "@" is used as a number, so should be displayed like "[64]" rather than as a printable character. Apart alphanumeric chars, only the characters ' ' and '.' are used literally in codec tags, all the other characters represent numbers. This also avoids relying on locale-dependent character class functions. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 06 Mar, 2013 9 commits
-
-
Martin Storsjö authored
This fixes crashes when there is no encoder for the default codec of selected format. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Carl Eugen Hoyos authored
This fixes standalone building of this decoder. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Ronald S. Bultje authored
Not all hwaccels implement all codecs, so using one single list for multiple such codecs means some codecs will be represented in the list, even though they don't actually handle that codec. Copying specific lists in each codec fixes that. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
-
Luca Barbato authored
get_uint returns an unsigned value, use an unsigned to store blocksize to make sure the comparison logic is correct and report correctly the error for the channel count not supported.
-
Luca Barbato authored
-
Luca Barbato authored
-
Michael Niedermayer authored
Prevent the loop shorten_decode_close from writing and freeing out of the array boundary. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
-
- 05 Mar, 2013 6 commits
-
-
Luca Barbato authored
The decoder assumes a single bit depth for all the planes while the specification allows different bit depths for luma and chroma. Avoid the possible problems described in CVE-2013-2277 CC: libav-stable@libav.org
-
Diego Biurrun authored
Some hwaccels use name prefixes, some do not, others only use them for some codecs. Add prefixes everywhere for consistency.
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
This is useful in all the places where special characters in variable names are manually translated to underscores.
-
Diego Biurrun authored
-
- 04 Mar, 2013 1 commit
-
-
Janne Grunau authored
-
- 02 Mar, 2013 4 commits
-
-
Martin Storsjö authored
The warnings are false positives, older gcc versions (such as 4.5) think the variables can be used uninitialized while they in practice can't, while newer (4.6) gets it right. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
CC:libav-stable@libav.org
-
Anton Khirnov authored
Since decode_slice_header() returns before the reference lists are constructed, there are zero valid references. CC:libav-stable@libav.org
-
Anton Khirnov authored
They are filled in decode_slice_header() anyway.
-
- 01 Mar, 2013 3 commits
-
-
Martin Storsjö authored
The callers of this function can't report errors sanely. If this one malloc fails, don't write the extradata byte, make sure we try to malloc it the next time we're called instead, and make sure we still consume the input data byte. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This header byte is only present when actually reading a VP6 frame, not when reading the codec type field in the metadata. This potential bug has been present since 5b54a90c. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
-
Diego Biurrun authored
-