summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* configure: Add missing videodsp dependencies to some decodersDiego Biurrun2013-03-07
|
* build: cosmetics: Group hw accelerator Makefile entries togetherDiego Biurrun2013-03-07
|
* configure: Add missing h264chroma dependencies to vp5, vp6Diego Biurrun2013-03-07
|
* Add missing error_resilience includes to files that use ERDiego Biurrun2013-03-07
|
* mpegvideo: Conditionally build error_resilience bitsMartin Storsjö2013-03-07
| | | | | This breaks the dependency of mpegvideo on error_resilience allowing compilation of components that depend on the former w/o the latter.
* build: Fix error_resilience code dependenciesDiego Biurrun2013-03-07
|
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-07
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* avstring: Add locale independent versions of some ctype.h functionsReimar Döffinger2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Deprecate the deinterlace functions in libavcodecRonald S. Bultje2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Integrate draw_horiz_band into ff_h264_draw_horiz_bandRonald S. Bultje2013-03-07
| | | | | | | | | | 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>
* lavc: Prettify printing of codec tags containing non alphanumeric charactersStefano Sabatini2013-03-07
| | | | | | | | | | | | | 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>
* h264: Rename the jpeg_420 pixfmt list to match the common naming structureMartin Storsjö2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: Make sure the encoder exists before inspecting supported_listMartin Storsjö2013-03-06
| | | | | | | This fixes crashes when there is no encoder for the default codec of selected format. Signed-off-by: Martin Storsjö <martin@martin.st>
* cavs: Add a dependency on h264chromaCarl Eugen Hoyos2013-03-06
| | | | | | This fixes standalone building of this decoder. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Split out ff_hwaccel_pixfmt_list_420[] over individual codecsRonald S. Bultje2013-03-06
| | | | | | | | | 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>
* avcodec/internal: Fix #if DECODE_AUDIO / ENCODE_AUDIO name mismatchDiego Biurrun2013-03-06
|
* shorten: use the unsigned type where neededLuca Barbato2013-03-06
| | | | | | 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.
* shorten: report meaningful errorsLuca Barbato2013-03-06
|
* shorten: K&R formatting cosmeticsLuca Barbato2013-03-06
|
* shorten: set invalid channels count to 0Michael Niedermayer2013-03-06
| | | | | | | | 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>
* vorbisdec: check memory allocationsLuca Barbato2013-03-06
|
* h264: check for luma and chroma bit dept being equalLuca Barbato2013-03-05
| | | | | | | | | | 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
* hwaccel: consistent name prefixes for start_frame/end_frame/decode_sliceDiego Biurrun2013-03-05
| | | | | Some hwaccels use name prefixes, some do not, others only use them for some codecs. Add prefixes everywhere for consistency.
* configure: Use check_builtin() where appropriateDiego Biurrun2013-03-05
|
* configure: Add check_builtin convenience functionDiego Biurrun2013-03-05
|
* configure: Add sanitize_var_name convenience functionDiego Biurrun2013-03-05
| | | | | This is useful in all the places where special characters in variable names are manually translated to underscores.
* configure: Fix silly typo in logging command of check_struct()Diego Biurrun2013-03-05
|
* fate: remove last incomplete frame from mpeg2-field-enc testJanne Grunau2013-03-04
|
* rtpdec: Initialize some variables to silence compiler warningsMartin Storsjö2013-03-02
| | | | | | | | 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>
* h264: set ref_count to 0 for intra slices.Anton Khirnov2013-03-02
| | | | CC:libav-stable@libav.org
* h264: on reference overflow, reset the reference count to 0, not 1.Anton Khirnov2013-03-02
| | | | | | | Since decode_slice_header() returns before the reference lists are constructed, there are zero valid references. CC:libav-stable@libav.org
* h264: do not copy ref count/ref2frm when updating per-frame contextAnton Khirnov2013-03-02
| | | | They are filled in decode_slice_header() anyway.
* flvdec: Check the return value of a mallocMartin Storsjö2013-03-02
| | | | | | | | | | 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>
* flvdec: Don't read the VP6 header byte when setting codec type based on metadataMartin Storsjö2013-03-02
| | | | | | | | | 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>
* lls: Do not return from void functionsDiego Biurrun2013-03-01
|
* lls: #ifndef --> #if in FF_API_ version guardDiego Biurrun2013-03-01
|
* Revert "Move H264/QPEL specific asm from dsputil.asm to h264_qpel_*.asm."Diego Biurrun2013-02-28
| | | | | | | This reverts commit f90ff772e7e35b4923c2de429d1fab9f2569b568. The code should be put back in h264_qpel_8bit.asm, but unfortunately it is unconditionally used from dsputil_mmx.c since 71155d7.
* lls: mark max_order as unsigned shortLuca Barbato2013-02-28
| | | | | | The value is within 0 and 32. Remove an `array subscript is below array bounds` warning.
* lls: move to the private namespaceLuca Barbato2013-02-28
| | | | The functions are private.
* lls: K&R formatting cosmeticsLuca Barbato2013-02-28
|
* avconv: Apply codec options to streams that are copied as wellMartin Storsjö2013-02-28
| | | | | | | | | | This allows setting/overriding e.g. the bitrate parameter, which is required for the smoothstreaming muxer. Normally, the bitrate is set by the demuxer in these cases, but not all demuxers can provide it. This allows stream copy of data to the smoothstreaming muxer from such inputs. Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils: Allow calling filter_codec_opts without a set encoderMartin Storsjö2013-02-28
| | | | | | | In this case, no encoder specific options are filtered, only options specific to that codec type in general. Signed-off-by: Martin Storsjö <martin@martin.st>
* pnm: Use av_pix_fmt_desc_get instead of accessing the array directlyMartin Storsjö2013-02-28
| | | | | | | This fixes boken fate tests with MSVC with DLLs, broken since b5f536d24. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: Add a fate test for the noproxy pattern matchingMartin Storsjö2013-02-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: Handle the environment variable no_proxy more properlyMartin Storsjö2013-02-27
| | | | | | | | | | | | | | | | | | | | The handling of the environment variable no_proxy, present since one of the initial commits (de6d9b6404), is inconsistent with how many other applications and libraries interpret this variable. Its bare presence does not indicate that the use of proxies should be skipped, but it is some sort of pattern for hosts that does not need using a proxy (e.g. for a local network). As investigated by Rudolf Polzer, different libraries handle this in different ways, some supporting IP address masks, some supporting arbitrary globbing using *, some just checking that the pattern matches the end of the hostname without regard for whether it actually is the right domain or a domain that ends in the same string. This simple logic should be pretty similar to the logic used by lynx and curl. Signed-off-by: Martin Storsjö <martin@martin.st>
* LICENSE: Move (L)GPLv3 explanation block to a more suitable placeDiego Biurrun2013-02-27
|
* swscale: Add support for unscaled 8-bit Packed RGB -> Planar RGBDerek Buitenhuis2013-02-27
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86: dsputil: Drop some unused function #definesDiego Biurrun2013-02-26
|
* x86: dsputil: Drop aliasing of ff_put_pixels8_mmx to ff_put_pixels8_mmxextDiego Biurrun2013-02-26
| | | | | | The external assembly function uses mmxext instructions and should not be masqueraded as an mmx-only function. Instead, use the mmx-only inline assembly function.
* x86: vc1dsp: Move ff_avg_vc1_mspel_mc00_mmxext out of dsputil_mmx.cDiego Biurrun2013-02-26
|