summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* avutil/log: check that len is within the buffer before reading itMichael Niedermayer2013-11-27
| | | | | | | Fixes out of array read Fixes: asan_heap-oob_19d6979_6857_mmw_deadzy.ogg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* get_audio_buffer: fix usage where channels are not set but layout isMichael Niedermayer2013-11-27
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '1eaac1d6f7bb8e52d82e1a114c88a59a9a8e5025'Michael Niedermayer2013-11-26
|\ | | | | | | | | | | | | | | | | | | | | * commit '1eaac1d6f7bb8e52d82e1a114c88a59a9a8e5025': mpeg12dec: Extract CC user data into frame side data Conflicts: doc/APIchanges libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpeg12dec: Extract CC user data into frame side dataJohn Stebbins2013-11-26
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-11-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add missing #includes for *INT64_MAX and *INT64_C Conflicts: ffmpeg.c ffmpeg_filter.c ffplay.c libavformat/assdec.c libavformat/avidec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-23
| |
* | avutil/utf8: put under #ifdef TESTMichael Niedermayer2013-11-22
| | | | | | | | | | | | | | All other test programs are under #ifdef TEST too with the implementation and test code being generally in the same file Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/avstring: add av_utf8_decode() functionStefano Sabatini2013-11-22
| |
* | lavu/dict.h: extend/clarify docs for av_dict_parse_string()Stefano Sabatini2013-11-22
| |
* | lavu/dict.h: apply various fixes/extensions to doxyStefano Sabatini2013-11-22
| | | | | | | | | | In particular, document AV_DICT_MATCH_CASE, AV_DICT_IGNORE_SUFFIX, and extend documentation for av_dict_get().
* | avutil: reintroduce lls1 as the 52 ABI needs itMichael Niedermayer2013-11-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lls1 taken from ff130d7 This is incompatible with libavcodec version 55.18.100 to 55.43.100 except 55.39.101 This incompatibility is caused by these libavcodec versions depending on a libavutil 52 which is ABI incompatible with the previous ABI 52 you can avoid this incompatibility by upgrading your libavcodec so it does no longer depend on the invalid ABI See: 502ab21af0ca68f76d6112722c46d2f35c004053 See: cc6714bb16b1f0716ba43701d47273dbe9657b8b See: 41578f70cf8aec8e7565fba1ca7e07f3dc46c3d2 See: Ticket3136 Tested-by: marillat Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rename new lls code to lls2 to avoid conflict with the old which has a ↵Michael Niedermayer2013-11-17
| | | | | | | | | | | | | | | | different ABI also remove failed attempt at a compatibility layer, the code simply cannot work Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil: rename lls to lls2Michael Niedermayer2013-11-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'cce3e0a49f0dd030262c28d9c53de0bd2fd909c4'Michael Niedermayer2013-11-14
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'cce3e0a49f0dd030262c28d9c53de0bd2fd909c4': Move av_fast_{m,re}alloc from lavc to lavu. Conflicts: libavcodec/avcodec.h libavcodec/utils.c libavutil/mem.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move av_fast_{m,re}alloc from lavc to lavu.Anton Khirnov2013-11-14
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-11-14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Deprecate obsolete XvMC hardware decoding support Conflicts: libavcodec/mpeg12.c libavcodec/mpeg12dec.c libavcodec/mpegvideo.c libavcodec/options_table.h libavutil/pixdesc.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Deprecate obsolete XvMC hardware decoding supportDiego Biurrun2013-11-13
| | | | | | | | | | | | | | XvMC has long ago been superseded by newer acceleration APIs, such as VDPAU, and few downstreams still support it. Furthermore XvMC is not implemented within the hwaccel framework, but requires its own specific code in the MPEG-1/2 decoder, which is a maintenance burden.
* | avutil/common: error out with clear message if __STDC_CONSTANT_MACROS is not ↵Michael Niedermayer2013-11-05
| | | | | | | | | | | | defined with c++ Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/opencl: compile kernels separatelyLenny Wang2013-11-05
| | | | | | | | | | Reviewed-by: Wei Gao <highgod0401@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'cd8f772d0678a90957f4dfd5ce51af9d22e3f212'Michael Niedermayer2013-11-04
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'cd8f772d0678a90957f4dfd5ce51af9d22e3f212': lavc: Add colorimetry values for BT.2020, other non-included ones Conflicts: doc/APIchanges libavcodec/avcodec.h libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil: add av_fopen_utf8()Michael Niedermayer2013-11-04
| | | | | | | | | | | | | | fopen() on windows uses UTF-16, we use UTF-8 everywhere, this function bridges the gap by using avpriv_open() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '5858a67f135a7395c548482c73cf3d39bcdd3022'Michael Niedermayer2013-11-03
|\| | | | | | | | | | | | | * commit '5858a67f135a7395c548482c73cf3d39bcdd3022': attributes: disable flatten on llvm/clang Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * attributes: disable flatten on llvm/clangVittorio Giovara2013-11-03
| |
* | avutil/xtea: add Doxy @file and groupTimothy Gu2013-11-03
| | | | | | | | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/adler32: add Doxy groupTimothy Gu2013-11-03
| | | | | | | | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '28096e0a806e57376541e6222d315619906e3c55'Michael Niedermayer2013-11-01
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '28096e0a806e57376541e6222d315619906e3c55': h264: wait for initial complete frame before outputing frames Conflicts: doc/APIchanges libavcodec/h264.c libavcodec/mpegvideo.h libavutil/frame.h libavutil/version.h See: a64b028aeb6579636e578ceb73f69b468bddb2f0 (as well as various later commits) Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: wait for initial complete frame before outputing framesJohn Stebbins2013-10-31
| | | | | | | | | | | | | | | | This can be optionally disabled whith the "output_corrupt" flags option. When in "output_corrupt" mode, incomplete frames are signalled through AVFrame.flags FRAME_FLAG_INCOMPLETE_FRAME. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avutil/opt: fix flags check on non x86Michael Niedermayer2013-10-29
| | | | | | | | | | | | This should fix several fate failures Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/opt: check flags validity in write_number()Michael Niedermayer2013-10-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '0b357a8095e72b092cc5c2aacc2f806db75ecae3'Michael Niedermayer2013-10-28
|\| | | | | | | | | | | | | | | | | | | * commit '0b357a8095e72b092cc5c2aacc2f806db75ecae3': AVOptions: do not range check flag options. Conflicts: libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * AVOptions: do not range check flag options.Anton Khirnov2013-10-27
| | | | | | | | | | | | | | It does not make sense in the vast majority of use cases, no currently defined AV_OPT_TYPE_FLAGS options in Libav set the range to anything nontrivial, and many of those get it wrong (the "correct" range is INT_MIN to INT_MAX so that the builtin constant "all" works).
* | Merge commit '529a9893d769f381b72785c500662be2020da5fe'Michael Niedermayer2013-10-28
|\| | | | | | | | | | | | | * commit '529a9893d769f381b72785c500662be2020da5fe': avframe: mark source frame const in _ref and _clone Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avframe: mark source frame const in _ref and _cloneVittorio Giovara2013-10-27
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | lavu/parseutils: add av_get_known_color_name()Stefano Sabatini2013-10-27
| |
* | avutil/utils: check that size_t is unsignedMichael Niedermayer2013-10-26
| | | | | | | | | | | | | | | | ANSI/ISO C guarantee this, yet there is evidence that there exist platforms where its not so. See: http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_30.html Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b284e1ffe343d6697fb950d1ee517bafda8a9844'Michael Niedermayer2013-10-26
|\| | | | | | | | | | | | | * commit 'b284e1ffe343d6697fb950d1ee517bafda8a9844': mem: do not check for negative size Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mem: do not check for negative sizeVittorio Giovara2013-10-26
| | | | | | | | | | | | size_t is guaranteed to be unsigned Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '4d6ee0725553a43ba88d6f8327ebcf8f1c5ae8d4'Michael Niedermayer2013-10-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '4d6ee0725553a43ba88d6f8327ebcf8f1c5ae8d4': libavutil: x86: Add AVX2 capable CPU detection. Conflicts: libavutil/cpu.c libavutil/cpu.h libavutil/x86/cpu.c See: 865b70bc5d1cf37ec6d6cb729a69dda2cca28bd5 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavutil: x86: Add AVX2 capable CPU detection.Kieran Kunhya2013-10-25
| | | | | | | | | | | | Patch based on x264's AVX2 detection Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * base64-test: Remove posibility of returning restricted exit codesDerek Buitenhuis2013-10-25
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * tree-test: Don't return restricted exit codesDerek Buitenhuis2013-10-24
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * avstring-test: Mark pointer passed to av_free() as non-constDiego Biurrun2013-10-23
| | | | | | | | libavutil/avstring.c:278:9: warning: passing argument 1 of ‘av_free’ discards ‘const’ qualifier from pointer target type
* | Add AVX2 capable CPU detection. Patch based on x264's AVX2 detectionKieran Kunhya2013-10-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | base64-test: Remove posibility of returning restrcted exit codesDerek Buitenhuis2013-10-24
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | tree-test: Don't return restricted exit codesDerek Buitenhuis2013-10-24
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avutil/log: document log callback thread saftey requirementsMichael Niedermayer2013-10-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/log: make default av_log callback thread safeMichael Niedermayer2013-10-23
| | | | | | | | | | | | This uses a pthread mutex Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fix order of operations in commentsMichael Niedermayer2013-10-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Support FF_DISABLE_DEPRECATION_WARNINGS with icc on Linux.Carl Eugen Hoyos2013-10-21
| |
* | avutil/opt: initialize retMichael Niedermayer2013-10-20
| | | | | | | | | | | | | | Fixes CID1108610 Fixes use of uninitialized variable Signed-off-by: Michael Niedermayer <michaelni@gmx.at>