summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* alsdec: Check k used for rice decoder.Michael Niedermayer2012-09-17
| | | | | | | Values that fail this check will cause failure of decode_rice() Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* avfiltergraph: silence an uninitialized variable warningAnton Khirnov2012-09-17
| | | | | | | | | | The warning is: libavfilter/avfiltergraph.c: In function ‘avfilter_graph_config’: libavfilter/avfiltergraph.c:528:9: warning: ‘best_idx’ may be used uninitialized in this function [-Wuninitialized] libavfilter/avfiltergraph.c:479:13: note: ‘best_idx’ was declared here Initialize it to an invalid value and add an assert that it's properly set later.
* xsubenc: reindentAnton Khirnov2012-09-17
|
* lavc: replace AVCodecContext.encode with subtitle-specific callbackAnton Khirnov2012-09-17
| | | | | AVCodecContext.encode is currently used only for subtitles, encode2 is used for audio and video.
* lavc: add const to private codec class initialization.Anton Khirnov2012-09-17
| | | | Silences a warning about discarding const.
* avconv: don't pass a bogus parameter to avfilter_graph_create_filter().Anton Khirnov2012-09-17
| | | | | | The buffer sink does not take any parameters. Fixes an uninitialized variable warning.
* id3v2: strdup the genre name explicitly.Clément Bœsch2012-09-17
| | | | | | | | | It would have been done anyway in the av_dict_set() call. This simplifies the code and avoid a warning because of assigning a const string from ff_id3v1_genre_str to a non-const variable. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf/id3v2: do not export empty fields.Clément Bœsch2012-09-17
| | | | | | This also avoids a memleak. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame()Anton Khirnov2012-09-17
|
* lavfi: replace empty input/output lists with null pointersMans Rullgard2012-09-17
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avconv: flush filtered frames before reconfiguring filtersJanne Grunau2012-09-17
| | | | This prevents lost frames after a resolution change.
* mov: stsd entries must be at least 16 byteMichael Niedermayer2012-09-16
| | | | | | | | | | Fix near infinite loop in stsd parsing. Bug found by: Diana Elena Muscalu The size is unsigned according the specification. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mov: detect EOF in mov_read_dref()Michael Niedermayer2012-09-16
| | | | | | | | Avoid a near infinite loop. Issue discovered by cosminamironesei. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* file: return proper error on seek failuresLuca Barbato2012-09-16
|
* mpegvideo: drop unnecessary arguments to hpel_motion()Mans Rullgard2012-09-16
| | | | | | | These arguments are either constants or copies of MpegEncContext fields just as easily accessed within the function. Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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>