summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavf: use designated initializers for AVClasses.Anton Khirnov2011-05-17
|
* flvdec: clenup debug codeAlex Converse2011-05-17
|
* asfdec: fix possible overread on broken files.Uoti Urpala2011-05-17
|
* asfdec: do not fall back to binary/generic searchVladimir Pantelic2011-05-17
| | | | | | | | | | asf_read_seek() inside the asf demuxer already does the right thing, it tries the index and if that fails it uses binary search. If binary search is called from outside of asfdec.c it will fail because the asf code cannot clean up after itself. Therefore introduce AVFMT_NOBINSEARCH that prevents the seek code to fallback to binary search and AVFMT_NOGENSEARCH that prevents the seek code to fallback to generic search.
* asfdec: reindent after previous commit c7bd5edVladimir Pantelic2011-05-17
|
* asfdec: fallback to binary search internallyVladimir Pantelic2011-05-17
| | | | lavf will do that anyway in case seek by index fails
* mpegaudio: add _fixed suffix to some namesMans Rullgard2011-05-17
| | | | | | | | This adds a _fixed suffix to the fixed-point versions of things with both float and fixed-point variants. This makes it more consistent with other dual-implementation things, e.g. fft. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Modify x86util.asm to ease transitioning to 10-bit H.264 assembly.Daniel Kang2011-05-17
| | | | | | | Arguments for variable size instructions are added to many macros, along with other various changes. The x86util.asm code was ported from x264. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dct: build dct32 as separate object filesMans Rullgard2011-05-17
| | | | | | | This builds the float and fixed-point versions of dct32 separately instead of #including the file in dct.c and mpegaudiodec.c. Signed-off-by: Mans Rullgard <mans@mansr.com>
* qdm2: include correct header for rdftMans Rullgard2011-05-17
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffmpeg: fix -aspect cli optionBaptiste Coudurier2011-05-16
| | | | | | | | | | | | | | | | | | | | | Redesign the way -aspect option is handled. This is done by making ffmpeg read the sample aspect ratio set in the corresponding input stream by default, and overriding it using the value specified by -aspect. If the output display aspect ratio is specified with -aspect, it is set at the end of the filterchain, thus overriding the value set by filters in the filterchain. This implementation is more robust, since does not modify the filterchain description (which was creating potential syntax errors). (Cherry-pick abf8342aa94bdf06bb324f6723a6743dd628d5c6) Another aspect ratio fix try. This leaves the setdar addition at the end (preferred by people). (Cherry-pick e7c7b0d000e81d24327602e04d8fed400dbb7193)
* Restructure video filter implementation in ffmpeg.c.Michael Niedermayer2011-05-16
| | | | | | | | This fixes several bugs like multiple outputs and -aspect mixed with -vf (cherry picked from commit 1762d9ced70ccc46c5d3e5d64e56a48d0fbbd4f7) (cherry picked from commit 5c20c81bfa526b3a269db9c88b0c9007861f0917) (cherry picked from commit a7844c580d83d8466c161a0e3979b3902d0d9100)
* ffplay: remove audio_write_get_buf_size() forward declarationStefano Sabatini2011-05-16
| | | | | | Move up the definition of audio_write_get_buf_size(), so that it is defined before it is used. Simplify. (cherry picked from commit 8776f3d22e401e30d17856e341f6cabbbefa92f7)
* lavfi: print key-frame and picture type information in ff_dlog_ref()Stefano Sabatini2011-05-16
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> (cherry picked from commit f7bdffb09da597c5d6afff5359523370470ad072)
* mathops: remove ancient confusing commentMans Rullgard2011-05-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cws2fws: Improve error message wording.Diego Biurrun2011-05-16
|
* tools: Check the return value of write().Diego Biurrun2011-05-16
| | | | | This fixes several warnings of the type: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
* mpegaudio: move OUT_FMT macro to mpegaudiodec.cMans Rullgard2011-05-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: remove OUT_MIN/MAX macrosMans Rullgard2011-05-16
| | | | | | | | These macros are no longer needed after the s32 output was removed. Change the relevant code to use av_clip_int16() instead of using explicit limits. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add missing #includes to mp3_header_(de)compress bsfMans Rullgard2011-05-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct: fix indentationMans Rullgard2011-05-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct: bypass table allocation for DCT_II of size 32Mans Rullgard2011-05-16
| | | | | | | | The size-32 DCT_II has a special implementation which doesn't use the normal tables. Skipping allocation of these in this case saves some memory. Signed-off-by: Mans Rullgard <mans@mansr.com>
* h264dsp_mmx: Add #ifdefs around some mmxext functions on x86_64.Gil Pedersen2011-05-16
| | | | | | This fixes linking errors due to undefined symbols on x86_64 OS X. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove unused header mpegaudio3.h.Diego Biurrun2011-05-16
| | | | The header is a part of an MP3 encoder that never saw the light of day.
* aacdec: Use float instead of int16_t for ltp_state to avoid needless rounding.Justin Ruggles2011-05-15
|
* acelp: Remove unused gray_decode table.Diego Biurrun2011-05-15
|
* dfa: Remove unused variable.Diego Biurrun2011-05-15
| | | | | This fixes the warning: libavcodec/dfa.c:189: warning: unused variable ‘frame_end’
* configure: Include AVX availability in summary output.Diego Biurrun2011-05-15
|
* configure: use same CPPFLAGS in kFreeBSD as LinuxReinhard Tartler2011-05-15
| | | | | | | | | | 046f081b46c8479820409cf8f530b988221bd15b reorganized the CPPFLAGS to no longer add -D_POSIX_C_SOURCE unconditionally, but only on systems (e.g., glibc based ones) that require it. As kFreeBSD uses glibc, it needs to be treated similar. Additionally, _BSD_SOURCE is turned on to enable some additional types such as caddr_t, which are normally enabled on BSD but not with glibc.
* Fix FSF address copy paste error in some license headers.Diego Biurrun2011-05-14
|
* Add an aac sample which uses LTP to fate-aac.Justin Ruggles2011-05-14
|
* [PATCH] Update pixdesc_be fate refs after adding 9/10bit YUV420P formats.Ronald S. Bultje2011-05-14
| | | | | | Also remove code that overwrites the C versions of functions in sws_init_swScale_altivec(), so that it uses the C functions of files if no altivec-optimized version exists.
* arm: properly mark external symbol callMartin Aumüller2011-05-14
| | | | | | | | Surround memset and ff_vp8_dct_cat_prob by X() in order to fix iOS build Includes patch by Luca Barbato <lu_zero@gentoo.org>. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* swscale: properly inline bits/endianness in yuv2yuvX16inC().Ronald S. Bultje2011-05-13
|
* swscale: fix clipping of 9/10bit YUV420P.Ronald S. Bultje2011-05-13
|
* Add av_clip_uintp2() functionMans Rullgard2011-05-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dfa: fix buffer overflow checks to avoid integer overflows.Reimar Döffinger2011-05-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movenc: always write esds descriptor length using 4 bytes.Baptiste Coudurier2011-05-13
| | | | | | ipod shuffle doesn't support anything else. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: use parse_number_and_die() when it makes senseStefano Sabatini2011-05-13
| | | | | | | | | | Prefer parse_number_or_die() over atoi()/atol() parsing for the options: -pass, -top, -vc, and -qscale. Improve input validation. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: get rid of the 'q' key schizofreniaAnton Khirnov2011-05-13
| | | | SIGINT for quitting should be enough for everybody.
* rtpdec_qdm2: Don't try to parse data packet if no configuration is receivedMartin Storsjö2011-05-13
| | | | | | | | The later parsing of payload data depends on the configuration being present. If it hasn't been configured properly yet, parsing a data packet may lead to a crash. Signed-off-by: Martin Storsjö <martin@martin.st>
* ac3enc: put the counting of stereo rematrixing bits in the same place toJustin Ruggles2011-05-12
| | | | make the code easier to understand.
* ac3enc: clean up count_frame_bits() and count_frame_bits_fixed()Justin Ruggles2011-05-12
|
* mpegvideo: make FF_DEBUG_DCT_COEFF output coeffs via av_log() instead of ↵Michael Niedermayer2011-05-12
| | | | | | | | | just via AVFrame. This allows the values to be used without changing C code and is closer to how the other DEBUG flags work. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* srtdec: make sure we don't write past the end of bufferAurelien Jacobs2011-05-12
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wmaenc: improve channel count and bitrate error handling in encode_init()Tomas Härdin2011-05-12
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskaenc: make sure we don't produce invalid file with no codec IDAurelien Jacobs2011-05-12
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: check that pointers were initialized before accessing themAurelien Jacobs2011-05-12
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: fix function name in compute_pkt_fields2 av_dlog messageStefano Sabatini2011-05-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: fix av_find_best_stream when providing a wanted stream.Marton Balint2011-05-12
| | | | | | | | | | | | | In the main loop, stream_number is incremented after checking the stream type, so the search usually will not find the wanted stream. This patch eliminates the useless stream_number variable and introduces a new one, called real_stream_index to store the real stream index of the current stream, no matter if we are looping through all the streams or only the streams of a program. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>