summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fate: dependencies for acodec testsMans Rullgard2012-10-17
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: dependencies for vsynth testsMans Rullgard2012-10-17
| | | | | | | This makes the vsynth tests run only if the required codecs and formats are enabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: add macros useful for conditionally enabling thingsMans Rullgard2012-10-17
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* libmp3lame: resize the output buffer if neededJustin Ruggles2012-10-17
| | | | | | | | | The LAME API documentation for the required buffer size refers to the size for a single encode call. However, we store multiple frames in the same output buffer but only read 1 frame at a time out of it. As a result, the buffer size given in lame_encode_buffer() is actually smaller than what it should be. Since we do not know how many frames it will end up buffering, it is best to just reallocate if needed.
* configure: Add support for Tilera processorsDerek Buitenhuis2012-10-16
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* wavdec: check size before reading the data, not after.Anton Khirnov2012-10-16
|
* wav: do not fail on empty INFO tagsAnton Khirnov2012-10-16
| | | | | | Fixes Bug 379 CC: libav-stable@libav.org
* lavf: split wav muxer and demuxer into separate files.Anton Khirnov2012-10-16
|
* wav muxer: write metadataVictor Vasiliev2012-10-16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* riff: do not write empty INFO tagsVictor Vasiliev2012-10-16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: move RIFF INFO tag writing from avienc to riffVictor Vasiliev2012-10-16
| | | | | | It will be useful in the wav muxer. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: fix disabling auto mappings with -map_metadataAnton Khirnov2012-10-16
| | | | CC: libav-stable@libav.org
* avcodec_encode_audio(): fix invalid freeRafaël Carré2012-10-16
| | | | | | | Since 2bc0de385, AVFrame needs to be initialized before calling avcodec_get_frame_defaults(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pcm-mpeg: correct bitrate calculationChristian Schmidt2012-10-16
| | | | | | | | Bitrate calculation is off since the bluray spec always specifies an even number of coded channels. This was honored in the decoder, but not for bitrate calculation. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* ffv1: K&R formatting cosmeticsLuca Barbato2012-10-16
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* fate: Add rangecoder testDiego Biurrun2012-10-16
|
* network: #include stdint.h in network.hMans Rullgard2012-10-16
| | | | | | | This header uses various types provided by stdint.h without explicitly including it. Signed-off-by: Mans Rullgard <mans@mansr.com>
* nut: export codec_tag provided by rawvideoLuca Barbato2012-10-16
| | | | | | Raw audio does not provide valid audio tags while rawvideo does. The fate refs have to be updated because it undoes the previous tag change.
* avserver: move avserver-specific code from ffmdec.c to avserver.cMans Rullgard2012-10-16
| | | | | | | | This way avserver only depends on the data structures of the ffm demuxer, which it already does, and not also on private functions being exported by the library. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: simplify linking tools with cmdutils.oMans Rullgard2012-10-15
| | | | | | | This avoids repeating cmdutils.o in both the prerequisites and the link command. Signed-off-by: Mans Rullgard <mans@mansr.com>
* tiny_psnr: fix range calculation for sample size of 32 bitsMans Rullgard2012-10-15
| | | | | | | | | For a sample size of 32 bits, the shift would overflow producing undefined results. Incidentally, in the only test currently using 32-bit samples, the output matches the reference exactly on most systems meaning the bad 'max' value is never used. Signed-off-by: Mans Rullgard <mans@mansr.com>
* tiny_psnr: check for specified sample size less than 1Mans Rullgard2012-10-15
| | | | | | | A zero or negative sample size is impossible and should be reported as an error. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: improve md5sum utility selectionMans Rullgard2012-10-15
| | | | | | | The 'md5sum' command is used with the -b flag so the presence test must also use this flag. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rangecoder-test: Drop timer output that clutters stderrDiego Biurrun2012-10-15
|
* rangecoder-test: Return in case of an errorDiego Biurrun2012-10-15
|
* build: simplify enabling of compat objectsMans Rullgard2012-10-15
| | | | | | | | Add a configure function to pull in a compat object and set up redirects in one operation. This avoids duplicating conditions across configure and makefiles. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: simplify argument handling in check_ldMans Rullgard2012-10-15
| | | | | | | Use the existing filter functions instead of open-coding the separation of general flags and libraries. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: simplify get_version() functionMans Rullgard2012-10-15
| | | | | | awk alone can do this, no need for grep. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: support asan and tsan toolchain shortcutsLuca Barbato2012-10-15
|
* rmdec: Move SIPR code shared with Matroska demuxer to a separate fileDiego Biurrun2012-10-15
|
* swscale: try to use mmap only if availableMans Rullgard2012-10-15
| | | | | | | | | | | | Some systems, e.g. Minix, have sys/mman.h defining MAP_ANONYMOUS without providing (working) mmap and friends. The mmx filter generation code checks only for MAP_ANONYMOUS, not for availability of mmap itself which leads to build errors on aforementioned systems. This changes the conditional compilation to use mmap only if all the required functions are available. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: check for mprotectMans Rullgard2012-10-15
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* wmapro: use planar sample formatJustin Ruggles2012-10-14
|
* wmalossless: output in planar sample formatJustin Ruggles2012-10-14
|
* wmadec: use float planar sample format outputJustin Ruggles2012-10-14
|
* shorten: use planar sample formatJustin Ruggles2012-10-14
|
* lavc: update documentation for AVFrame.extended_dataJustin Ruggles2012-10-14
|
* avutil: Do not make ff_ symbols globally visible.Diego Biurrun2012-10-13
|
* avutil: Rename ff_set_systematic_pal2() ---> avpriv_set_systematic_pal2()Diego Biurrun2012-10-13
| | | | Functions used across libraries should have avpriv_ and not ff_ prefixes.
* build: tms470: work around glibc math.h problemsMans Rullgard2012-10-13
| | | | | | | The glibc definitions of INFINITY and NAN do not work with the tms470 compiler, nor do our usual fallbacks. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: improve tms470 compiler usage with glibcMans Rullgard2012-10-13
| | | | | | | | | | Apply flags to work around glibc quirks only if glibc is detected, and add a few more such flags. Do not mess with as/ld settings in probe_cc. This is not the proper place. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: tms470: add mapping for -mfpu=vfpv3-d16 flagMans Rullgard2012-10-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: recognise Minix as OSMans Rullgard2012-10-13
| | | | | | No special setup is required for Minix. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: work around bug in ash shellMans Rullgard2012-10-13
| | | | | | | The ash 'test' builtin misbehaves if the first operand of a binary operator looks like a unary operator. Signed-off-by: Mans Rullgard <mans@mansr.com>
* eval-test: make table static constMans Rullgard2012-10-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavr: handle clipping in the float to s32 conversionJustin Ruggles2012-10-13
| | | | | | | | | | | We cannot clip to INT_MAX because that value cannot be exactly represented by a float value and ends up overflowing during conversion anyway. We need to use a slightly smaller float value, which ends up with slightly inaccurate results for samples which clip or nearly clip, but it is close enough. Using doubles as intermediates in the conversion would be more accurate, but it takes about twice as much time. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* nut: support pcm codecs not mapped in aviLuca Barbato2012-10-13
| | | | The native tags will be used when available.
* nut: prioritize native tagsLuca Barbato2012-10-13
| | | | | Use native tags instead of avi ones, simplifies a lot raw video codecs handling.
* vc1: Use codec ID from AVCodecContext while parsing frame headerMashiat Sarker Shakkhar2012-10-13
| | | | | | | This fixes a segfault with samples that I have (both of them MPEG-TS). Looks like avctx->codec is not being set during parsing. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* avplay: support mid-stream sample rate changesJustin Ruggles2012-10-13
| | | | Resample to the rate that was configured in SDL.