aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
Commit message (Collapse)AuthorAgeFilesLines
* Fix apparently exploitable race condition.Michael Niedermayer2011-03-251-1/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* log:Sanitize string of most control chars before printing.Michael Niedermayer2011-03-251-1/+10
| | | | | | This may be security relevant depending upon the used terminal. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-243-5/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * newdev/master: avio: make udp_set_remote_url/get_local_port internal. asfdec: also subtract preroll when reading simple index object matroskaenc: remove a variable that's unused after bc17bd9. avio: cosmetics - nicer vertical alignment. Remove unnecessary icc version checks Disable 'attribute "foo" ignored' warnings from icc rtsp: Don't use a locale dependent format string Add xd55 codec tag for XDCAM HD422 720p25 CBR files. configure: get libavcodec version from new version.h header lavc: move the version macros to a new installed header. matroskaenc: simplify get_aac_sample_rates by using ff_mpeg4audio_get_config Do not use format string "%0.3f" for RTSP Range field. Add apply_window_int16() to DSPContext with x86-optimized versions and use it in the ac3_fixed encoder. Document usage of import libraries created by dlltool configure: Set the correct lib target for arm/wince dlltool fate: simplify regression-funcs.sh fate: add support for multithread testing Conflicts: libavformat/rtspdec.c libavutil/attributes.h libavutil/internal.h libavutil/mem.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove unnecessary icc version checksMans Rullgard2011-03-233-5/+5
| | | | | | | | | | | | | | | | With unknown attribute warnings disabled, these checks are no longer needed. Removing them improves readability while having no effect on generated code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-233-10/+20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * newdev/master: (33 commits) Fix an infinite loop when RoQ encoded generated a frame with a size greater than the maximum valid size. Add kbdwin.o to AC3 decoder Detect byte-swapped AC-3 and support decoding it directly. cosmetics: indentation Always copy input data for AC3 decoder. ac3enc: make sym_quant() branch-free cosmetics: indentation Add a CPU flag for the Atom processor. id3v2: skip broken tags with invalid size id3v2: don't explicitly skip padding Make sure kbhit() is in conio.h fate: update wmv8-drm reference vc1: make P-frame deblock filter bit-exact. configure: Add the -D parameter to the dlltool command amr: Set the AVFMT_GENERIC_INDEX flag amr: Set the pkt->pos field properly to the start of the packet amr: Set the codec->bit_rate field based on the last packet rtsp: Specify unicast for TCP interleaved streams, too Set the correct target for mingw64 dlltool applehttp: Change the variable for stream position in seconds into int64_t ... Conflicts: ffmpeg.c ffplay.c libavcodec/ac3dec.c libavformat/avio.h libavformat/id3v2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: indentationJustin Ruggles2011-03-221-8/+8
| |
| * Add a CPU flag for the Atom processor.Justin Ruggles2011-03-223-2/+12
| | | | | | | | | | | | | | The Atom has SSSE3 support, which is useful in many cases, but sometimes the SSSE3 version is slower than the SSE2 equivalent on the Atom, but is generally faster on other processors supporting SSSE3. This flag allows for selectively disabling certain SSSE3 functions on the Atom.
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19102-409/+409
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Fake-Merge remote-tracking branch 'ffmpeg-mt/master'Michael Niedermayer2011-03-221-1/+0
| |
* | Remove unused pixel format (PIX_FMT_UNUSED) and swap PIX_FMT_BGR48LE and ↵Peter Ross2011-03-211-2/+1
| | | | | | | | | | | | PIX_FMT_BGR48BE enum order Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add unused pixel format (PIX_FMT_UNUSED) to make PIX_FMT_BGR48BE an ↵Peter Ross2011-03-191-0/+1
| | | | | | | | | | | | | | | | odd-valued enumeration This is required for the isBE() macro internal to libswscale. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"Michael Niedermayer2011-03-171-1/+1
| | | | | | | | This reverts commit 29ba091136a5e04574f7bfc1b17536c923958f6f.
* | Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"Michael Niedermayer2011-03-171-1/+1
| | | | | | | | This reverts commit a03be6e1ba4cbf9984b0bbdb674704bbb2da6713.
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-171-2/+2
|\| | | | | | | | | | | | | | | | | | | Conflicts: Changelog doc/APIchanges doc/optimization.txt libavformat/avio.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*Janne Grunau2011-03-161-1/+1
| |
| * replace FFMPEG with LIBAV in FFMPEG_CONFIGURATIONJanne Grunau2011-03-161-1/+1
| | | | | | | | also update the multiple inclusion guards in config.h|mak
* | Add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formatsPeter Ross2011-03-173-1/+27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-152-0/+3
|\| | | | | | | Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add AVERROR_EXIT.Nicolas George2011-03-152-0/+3
| | | | | | | | | | | | | | | | This is different from AVERROR(EINTR) because calls that fail with EINTR should usually be restarted. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * x86: use raw opcode for xgetbv instructionMans Rullgard2011-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | This allows the CPU detection to work with assemblers not supporting the xgetbv mnemonic. These include clang and some BSD versions. All AVX code will be written for yasm, where the main assembler is not involved. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: check for AVX supportMans Rullgard2011-02-203-1/+15
| | | | | | | | | | | | This adds configure and runtime checks for AVX support on x86 CPUs. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Force inlining of avutil common routinesJason Garrett-Glaser2011-02-172-18/+18
| | | | | | | | | | | | On some versions of gcc, these weren't always getting inlined due to hitting the inline cap limit in some files. This is generally bad, as most of these functions are smaller inlined than not.
| * lavf, lavu: bump minor versions and add an APIChanges entry for av_ prefixesAnton Khirnov2011-02-171-1/+1
| | | | | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
| * Move find_info_tag to lavu and add av_ prefix to itAnton Khirnov2011-02-172-0/+47
| | | | | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
| * Deprecate parse_date() in favor of av_parse_time().Stefano Sabatini2011-02-162-0/+271
| | | | | | | | | | | | | | | | The new av_parse_time() is created in libavutil/parseutils.h, all the internal functions used by parse_date are moved to libavutil/parseutils.c and made static. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Merge libavcore into libavutilReinhard Tartler2011-02-1510-1/+1371
| | | | | | | | | | | | | | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
| * Add check for Athlon64 and similar AMD processors with slow SSE2.Justin Ruggles2011-02-111-1/+16
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * Frame-based multithreading framework using pthreadsAlexander Strange2011-02-091-0/+11
| | | | | | | | | | | | See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * Remove a few if (p) av_freep(&p) formsClément Bœsch2011-02-041-1/+1
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Avoid pointless check before calling freeClément Bœsch2011-02-031-3/+2
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Add forgotten minor API bumps and APIChanges entriesAnton Khirnov2011-02-021-1/+1
| | | | | | | | | | | | | | The bumps are for adding version.h and avio_{get/put}_str functions in lavf and making av_dlog public in lavu. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
| * Rename attribute_used to av_used and move it to attributes.hMans Rullgard2011-01-313-15/+14
| | | | | | | | | | | | This is consistent with most of the other attribute macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Replace dprintf with av_dlogLuca Barbato2011-01-292-7/+11
| | | | | | | | dprintf clashes with POSIX.1-2008
| * intfloat_readwrite: include "mathematics.h" for fallback macrosMans Rullgard2011-01-251-1/+1
| | | | | | | | | | | | | | This allows this file to build on systems lacking NAN or INFINITY in math.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Handle input or output len of 0 properly in lzo decoder.Reimar Döffinger2011-01-241-0/+8
| | | | | | | | (cherry picked from commit 7d5082600ee63d879c2a325974ea09c8ace05019)
| * MIPS: use inline asm only when supported by compilerMans Rullgard2011-01-231-0/+4
| |
* | Attribute used is correctly supported by the Intel C compiler since version ↵Carl Eugen Hoyos2011-03-031-1/+1
| | | | | | | | 11.1.
* | Use macro __INTEL_COMPILER instead of __ICC.Carl Eugen Hoyos2011-03-023-7/+7
| | | | | | | | | | | | __ICC is not supported on all platforms, this is an Intel documentation bug that is supposed to be fixed in a future release. (Intel issue 612289)
* | x86: use raw opcode for xgetbv instructionMans Rullgard2011-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | This allows the CPU detection to work with assemblers not supporting the xgetbv mnemonic. These include clang and some BSD versions. All AVX code will be written for yasm, where the main assembler is not involved. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit ef6695387522fc783105ac187c84beaa284e7cff)
* | x86: check for AVX supportMans Rullgard2011-02-203-1/+15
| | | | | | | | | | | | | | This adds configure and runtime checks for AVX support on x86 CPUs. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 87f1355f9b4fc11414d0e6a91404203c2745f89f)
* | Force inlining of avutil common routinesJason Garrett-Glaser2011-02-182-18/+18
| | | | | | | | | | | | | | On some versions of gcc, these weren't always getting inlined due to hitting the inline cap limit in some files. This is generally bad, as most of these functions are smaller inlined than not. (cherry picked from commit eb3755a5aa65da685d81399cfae4bd35e4a178b6)
* | lavf, lavu: bump minor versions and add an APIChanges entry for av_ prefixesAnton Khirnov2011-02-181-1/+1
| | | | | | | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 09d171b98879f58be1a766d5f277e131b18e98a1)
* | Move find_info_tag to lavu and add av_ prefix to itAnton Khirnov2011-02-182-0/+47
| | | | | | | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit ab0287fcbdebc8ff416214535d7ee8424406990e)
* | Deprecate parse_date() in favor of av_parse_time().Stefano Sabatini2011-02-182-0/+271
| | | | | | | | | | | | | | | | | | The new av_parse_time() is created in libavutil/parseutils.h, all the internal functions used by parse_date are moved to libavutil/parseutils.c and made static. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit f6c7375a175ac649558aefab14f3895b2cb469aa)
* | Merge libavcore into libavutilReinhard Tartler2011-02-1610-1/+1459
| | | | | | | | Done to keep ABI compatible. Otherwise this is just silly
* | Add check for Athlon64 and similar AMD processors with slow SSE2.Justin Ruggles2011-02-131-1/+16
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 74b1f96859eb967222fcb3eb4c72d949b5165a89)
* | Frame-based multithreading framework using pthreadsAlexander Strange2011-02-111-0/+11
| | | | | | | | | | | | See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | Remove a few if (p) av_freep(&p) formsClément Bœsch2011-02-061-1/+1
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 523d9407d57e9210428b6d962f0ebf48aae55638)
* | Avoid pointless check before calling freeClément Bœsch2011-02-041-3/+2
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit dc75d6dbf2af3c03b33d3159e1dadccf22c076ea)
* | Add forgotten minor API bumps and APIChanges entriesAnton Khirnov2011-02-041-1/+1
| | | | | | | | | | | | | | The bumps are for adding version.h and avio_{get/put}_str functions in lavf and making av_dlog public in lavu. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>