summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* qpeg: use reget_buffer() in decode_frame()Stefano Sabatini2011-04-27
| | | | | | | | | | | Decoder relies on previous frame data, so use reget_buffer(). This also set frame->reference to 3, as the frame will be requested unmodified later so it shouldn't be modified by the application. Fix playback of file Clock.avi. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ultimotion: use reget_buffer() in ulti_decode_frame()Stefano Sabatini2011-04-27
| | | | | | Decoder relies on previous frame data, so use reget_buffer(). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* smacker: remove unnecessary call to avctx->release_buffer in decode_frame()Stefano Sabatini2011-04-27
| | | | | | | | | The release_buffer was cleaning the provided frame, thus causing the successive call to avctx->reget_buffer() to allocate a new frame. In case the returned frame was not the same one previously returned but a new one with different data, it resulted in artifacts. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avparser: don't av_malloc(0).Ronald S. Bultje2011-04-26
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ac3enc: correct the flipped sign in the ac3_fixed encoderJustin Ruggles2011-04-26
|
* Eliminate pointless '#if 1' statements without matching '#else'.Diego Biurrun2011-04-26
|
* Add AVX FFT implementation.Vitor Sessak2011-04-26
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Increase alignment of av_malloc() as needed by AVX ASM.Vitor Sessak2011-04-26
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Update x86inc.asm from x264 to allow AVX emulation using SSE and MMX.Vitor Sessak2011-04-26
| | | | Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* mjpeg: Detect overreads in mjpeg_decode_scan() and error out.Michael Niedermayer2011-04-26
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rbultje@google.com>
* documentation: extend documentation for ffmpeg -aspect optionStefano Sabatini2011-04-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* APIChanges: update commit hashes for recent additions.Anton Khirnov2011-04-26
|
* lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enumsStefano Sabatini2011-04-26
| | | | | | | | | | | | Also deprecate av_get_pict_type_char() in favor of av_get_picture_type_char(). The new enum and av_get_picture_type_char() are defined in libavutil. This allows the use in libavfilter without the need to link against libavcodec. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* aac: add headers needed for log2f()Michael Niedermayer2011-04-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: remove FF_API_MB_Q cruftAnton Khirnov2011-04-26
|
* lavc: remove FF_API_RATE_EMU cruftAnton Khirnov2011-04-26
|
* lavc: remove FF_API_HURRY_UP cruftAnton Khirnov2011-04-26
|
* pad: make the filter parametricStefano Sabatini2011-04-26
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_movie: add key_frame and pict_type.royger2011-04-26
| | | | | | Signed-off-by: Roger Pau Monné <roger.pau@entel.upc.edu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_movie: fix leak in request_frame()Stefano Sabatini2011-04-26
| | | | | | | | Also set movie->picref to NULL, in order to avoid a crash in uninit() when movie->picref is unreffed again and it was already freed. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.Roger Pau Monné2011-04-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_buffer: add sample_aspect_ratio fields to arguments.Michael Niedermayer2011-04-26
| | | | | | | | This fixes aspect handling in ffmpeg. This is based on a patch by Baptiste. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add fieldorder filterMark Himsley2011-04-26
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* scale: make the filter parametricStefano Sabatini2011-04-26
| | | | | | | | Make the filter accept parametric expressions for the output video size. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: support 16-bitJames Darnley2011-04-26
| | | | | | Fixes by Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: support more than yuv420p.James Darnley2011-04-26
| | | | | | and correctly support grey8 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: Fix assert() failureMichael Niedermayer2011-04-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* graphparser: add a NULL check on the argument passed to strstrStefano Sabatini2011-04-25
| | | | | | | Fix crash in create_filter() which occurrs if a scale filter with no args is provided. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* setdar: prefer "sar" over "par" in log info messageStefano Sabatini2011-04-25
| | | | | | | This is more consistent with the terminology adopted by the aspect filter names. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fade: fix draw_slice() check on fade->factor valueMark Himsley2011-04-25
| | | | | | | | | | draw_slice() checks that the fade factor is < 65536 and only calculates the fade if so. But the fade factor is clipped in end_frame() by av_clip_uint16() to 65535, so the fade is calculated for every frame. This patch alters the check so that it compares with < 65535 (UINT16_MAX). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fade: make draw_slice() chroma check against planes 1 and 2Mark Himsley2011-04-25
| | | | | | | | draw_slice() checks that planes 0 and 1 of AVFilterBufferRef's data are not NULL before manipulating planes 1 and 2. This patch makes the check against planes 1 and 2. More senseful and possibly more robust. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* win32: include the correct header in cmdutils.cLuca Barbato2011-04-25
| | | | CommandLineToArgvW requires windows.h, include it directly
* ac3: fix memleak in fixed-point encoderJanne Grunau2011-04-25
| | | | caused by typo in mdct_end
* flashsv: Return more meaningful error values.Diego Biurrun2011-04-25
|
* flashsv: Employ explicit AVCodec struct initializers.Diego Biurrun2011-04-25
|
* read AVI palette from the end of extradataKostya Shishkov2011-04-24
| | | | | | | | | | | | | | | | | | Official AVI specification says that stream header in case of video contains BITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently lavf AVI demuxer thinks otherwise which produces garbage on codecs that have both palette and extradata (luckily, there are not so many such codecs). An example of such file is: http://samples.multimedia.cx/V-codecs/KMVC/baseball1.avi (IIRC, MSS1 or MSS2 also had such situation but they are still not supported by lavc). As a side note, passing palette in extradata as it's been done previously is not quite correct since proper _extra_ data is surplus bytes in BITMAPINFOHEADER, not including palette. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* cosmetics: K&R coding style and more whitespace for Flash Screen VideoDiego Biurrun2011-04-25
|
* vorbisdec: Employ proper printf format specifiers for uint_fast32_t.Diego Biurrun2011-04-25
| | | | | libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘uint_fast32_t’ libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘uint_fast32_t’
* applehttp: Don't export variant_bitrate if it isn't knownMartin Storsjö2011-04-24
| | | | | | | | If there are no variants, the total bitrate of the single stream isn't known, and exporting variant_bitrate = 0 does look weird, since there really aren't any variants. Signed-off-by: Martin Storsjö <martin@martin.st>
* crypto: Use av_freep instead of av_freeMartin Storsjö2011-04-24
| | | | | | Using av_freep is generally good practice. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add missing libm library dependencies to .pc files.Reinhard Tartler2011-04-24
| | | | | | | This unbreaks static compilation using pkg-config on systems in need of -lm. Based on an mplayer2 patch by Uoti Urpala <uau@mplayer2.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* oggdec: reindent after 8f3eebd6Clément Bœsch2011-04-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: Add missing libavutil inter-library dependencies to .pc files.Reinhard Tartler2011-04-24
| | | | | | | This unbreaks static compilation when using pkg-config. Based on an mplayer2 patch by Uoti Urpala <uau@mplayer2.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Handle unicode file names on windowsKirill Gavrilov2011-04-24
| | | | | | | | | | | | | All file names should be in UTF-8 within libavformat. This is handled by mapping the open() function to an internal one in os_support.h for windows. fopen() could be overridden in the same way, but if that would be used from ffmpeg.c, it would add a dependency on an ff prefixed internal lavf function. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtp: Rename the open/close functions to alloc/freeMartin Storsjö2011-04-24
| | | | | | | This avoids clashes if we internally want to override the global open function. Signed-off-by: Martin Storsjö <martin@martin.st>
* Lowercase all ff* program names.Diego Biurrun2011-04-23
|
* Refer to ff* tools by their lowercase names.Diego Biurrun2011-04-23
|
* Replace more FFmpeg instances by Libav or ffmpeg.Diego Biurrun2011-04-23
|
* Replace `` by $() syntax in shell scripts.Diego Biurrun2011-04-23
| | | | $() is easier to nest and POSIX, which we require in other places.
* patcheck: Allow overiding grep program(s) through environment variables.Brad2011-04-23
| | | | | | | patcheck hardcodes the binary names for grep/egrep. This makes overriding the binary names a pain, e.g. when calling a GNU version of grep on BSD systems. Signed-off-by: Diego Biurrun <diego@biurrun.de>