summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* mpegvideo: drop 'inline' from some functionsMans Rullgard2012-09-16
| | | | | | | These functions do not benefit from being inlined. They are large, and there are no opportunities for constant propagation. Signed-off-by: Mans Rullgard <mans@mansr.com>
* nellymoserdec: drop support for s16 output.Anton Khirnov2012-09-16
| | | | | It internally decodes as float and then converts to s16 by a call to float_to_int16(). The caller can do this just as well by using lavr.
* bmpdec: only initialize palette for pal8.Anton Khirnov2012-09-16
| | | | | | | | | Gray8 is not considered to be paletted, so this would cause an invalid write. Fixes bug 367. CC: libav-stable@libav.org
* build: Properly remove object files while cleaningMans Rullgard2012-09-15
| | | | | | | Previously, object files in, for example, compat/ were left after a clean or distclean was run. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* flacdsp: arm optimised lpc filterMans Rullgard2012-09-15
|
* compat/vsnprintf: return number of bytes required on truncation.Ronald S. Bultje2012-09-15
| | | | | | This conforms to C99, but requires Windows >= XP. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avformat: fix typo in avformat_close_inputLuca Barbato2012-09-15
| | | | The condition should not be &&.
* mp3enc: write Xing TOCAnton Khirnov2012-09-15
| | | | | | | | | | | | Based on the code by: Peter Belkner <pbelkner@snafu.de>, Michael Niedermayer <michaelni@gmx.at>, Clément Bœsch <clement.boesch@smartjog.com>, Reimar Döffinger <Reimar.Doeffinger@gmx.de>, and Tobias Rapp <t.rapp@noa-audio.com> Alex Converse <alex.converse@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mp3enc: support MPEG-2 and MPEG-2.5 in Xing header.Clément Bœsch2012-09-15
|
* mp3enc: downgrade some errors in writing Xing frame to warningsReimar Döffinger2012-09-15
| | | | Also clarify the meaning of the log message.
* lavf: flush the output AVIOContext in av_write_trailer().Anton Khirnov2012-09-15
| | | | | | | This is consistent with stdio and is what we want to do in all cases. Fixes a bug in the voc muxer which didn't flush in write_trailer() previously. This is the cause of the change in the test results.
* lavf: cosmetics, reformat av_write_trailer().Anton Khirnov2012-09-15
|
* avio: flush the internal buffer in avio_close()Stefano Sabatini2012-09-15
| | | | | This is consistent with stdio, and thus what people would naturally expect.
* Enhance doc on asyncts audiofilterAndrey Utkin2012-09-15
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cmdutils: avoid setting data pointers to invalid values in alloc_buffer()Anton Khirnov2012-09-15
| | | | Fixes bug 352.
* libavcodec: remove av_destruct_packet_nofree()Mans Rullgard2012-09-15
| | | | | | This function was deprecated two major versions ago (2009). Signed-off-by: Mans Rullgard <mans@mansr.com>
* riff: Add SVQ3 fourccDerek Buitenhuis2012-09-14
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fate: ac3: add 4.0 and downmix testsMans Rullgard2012-09-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: x86: improve ebp availability checkMans Rullgard2012-09-14
| | | | | | | | Some compilers are extra strict about register usage in main(), disallowing ebp in inline asm there while allowing it elsewhere. This change makes the test better reflect actual usage. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vorbisdec: ensure FASTDIV denominator is never 1Luca Barbato2012-09-14
| | | | | | | | | | In both usages of FASTDIV the denominator might be 1. Using a branch could make the function slower than using a normal division. Both denominator and numerator can be multiplied by 2 safely and using shifts is faster than using a branch.
* avformat: refactor avformat_close_inputLuca Barbato2012-09-14
| | | | Do not crash if the input format is not allocated yet.
* avformat: simplify avformat_close_inputLuca Barbato2012-09-14
| | | | avio_close checks by itself for NULL condition.
* x86: dsputil: Move Xvid IDCT put/add functions to a more suitable placeDiego Biurrun2012-09-14
|
* trasher: Include all the necessary headersMartin Storsjö2012-09-13
| | | | | | | The missing headers are required for errno and for strerror. This fixes building of this tool on mingw32ce. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Remove some leftover declarations for non-existent functionsDiego Biurrun2012-09-13
|
* ARM: libavresample: NEON optimised generic fltp to s16 conversionMans Rullgard2012-09-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: libavresample: NEON optimised stereo fltp to s16 conversionMans Rullgard2012-09-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: libavresample: NEON optimised flat float to s16 conversionMans Rullgard2012-09-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* os_support: Choose between direct.h and io.h using a configure checkMartin Storsjö2012-09-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* os_support: Include io.h instead of direct.h on mingw32ceMartin Storsjö2012-09-13
| | | | | | | | Windows CE doesn't have neither mkdir nor _mkdir officially (only CreateDirectoryW), but mingw32ce has compat wrappers with these names (declared in io.h since direct.h is unavailable). Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declaredMartin Storsjö2012-09-13
| | | | | | This fixes building without inline assembly. Signed-off-by: Martin Storsjö <martin@martin.st>
* swscale: Remove two bogus assertsDiego Biurrun2012-09-13
|
* ac3: move ac3_downmix() from dsputil to ac3dspMans Rullgard2012-09-12
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavr/audio_mix_matrix: acknowledge the existence of LFE2.Tim Walker2012-09-12
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mlp_parser: avoid mapping multiple disctinct TrueHD channels to the same ↵Tim Walker2012-09-12
| | | | | | Libav channel. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* lavu/audioconvert: add a second low frequency channel.Tim Walker2012-09-12
| | | | | | Can be used by DTS-HD, TrueHD and E-AC-3, among others. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mpegts: check substreams before discardingChristian Schmidt2012-09-12
| | | | | | Allow to extract the AC3 core from TrueHD with the "copy" codec. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Add a smooth streaming segmenter muxerMartin Storsjö2012-09-12
| | | | | | | | | | | | | | | | | This muxer splits the output from the ismv muxer into individual files, in realtime. The same can also be done by the standalone tool ismindex, but this muxer is needed for doing it in realtime (especially for live streams that need extra handling for updating the lookahead fields in the fragment headers). Using this muxer, one can deliver live smooth streaming from a normal static file web server. (Using ismindex, one can deliver premade smooth streaming files from a static file web server, or prepare files for serving with IIS.) Signed-off-by: Martin Storsjö <martin@martin.st>
* file: Add an avoption for disabling truncating existing files on openMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* img2dec: always close AVIOContextsTomas Härdin2012-09-12
| | | | | | Zero sized files would cause the contexts to leak away. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtpdec_jpeg: Error out on other unsupported type values as wellMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Disallow using the reserved q valuesMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Fold the default qtables case into an existing if statementMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Store and reuse old qtables for q values 128-254Martin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Simplify the calculation of the number of qtablesMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Add more comments about the fields in the SOF0 sectionMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Clarify where the subsampling magic numbers come fromMartin Storsjö2012-09-12
| | | | | | | Write out the numbers the way they are constructed, not just the final values. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Don't use a bitstream writer for the EOI markerMartin Storsjö2012-09-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Don't needlessly use a bitstream writer for the headerMartin Storsjö2012-09-12
| | | | | | | | Everything written with this bitstream writer is 8/16 bit units (except for a pair of 4 bit values), so using a bitstream writer isn't necessary. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_jpeg: Simplify writing of the jpeg headerMartin Storsjö2012-09-12
| | | | | | | Generalize writing of any number of qtables. Don't manually write 16 bit values in two separate calls. Signed-off-by: Martin Storsjö <martin@martin.st>