Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-06lavc: do not leak the internal frame if opening the codec failsAnton Khirnov
2014-01-06lavc: add 422/444 YUV with alpha to align_dimensions()Anton Khirnov
Aligns frame dimensions to 16, which fixes potential invalid writes.
2014-01-05avframe: add AV_FRAME_DATA_MATRIXENCODING side data type.Tim Walker
Includes a libavcodec utility function to update a frame's side data.
2013-12-11lavc: deprecate avcodec_get_frame_defaults().Anton Khirnov
Also bump libavcodec micro and add an APIchanges entry saying that av_frame_* should now be used instead of the lavc AVFrame functions.
2013-12-11lavc: call av_frame_unref() instead of avcodec_get_frame_defaults().Anton Khirnov
avcodec_get_frame_defaults() will be deprecated.
2013-12-11lavc: deprecate avcodec_free_frame()Anton Khirnov
av_frame_free() should be used instead.
2013-12-09lavc: rework handling of refcounted_frames=0Anton Khirnov
Use only proper AVFrame API (no assigning of whole frames, since that hardcodes sizeof(AVFrame) into lavc). Make a copy of the side data, so the caller can use av_frame_unref/free on non-refcounted frames, eliminating the need for avcodec_get_frame_defaults()/avcodec_free_frame().
2013-12-09lavc/decode_video(): always unref the frame if there is no output in ↵Anton Khirnov
decode_video Not just on failure. This is the same thing that is done in the audio path and should prevent leaks in decoders that allocate a frame, but then end up not writing into it.
2013-12-09lavc: remove a pointless check in decode_audio4()Anton Khirnov
av_frame_unref() works fine on unallocated frames.
2013-12-09lavc: use buf[0] instead of data[0] as the indicator of an allocated frameAnton Khirnov
data[0] may be NULL for valid frames with hwaccel pixel formats.
2013-12-09lavc: remove the extended_data workarounds.Anton Khirnov
All decoders should now handle it properly.
2013-11-16lavc: deprecate avcodec_alloc_frame().Anton Khirnov
2013-11-16Replace all instances of avcodec_alloc_frame() with av_frame_alloc().Anton Khirnov
2013-11-14Move av_fast_{m,re}alloc from lavc to lavu.Anton Khirnov
2013-11-10hwaccel: Simplify ff_find_hwaccelLuca Barbato
It is always called by passing fields from an AVCodecContext.
2013-11-04lavc: move AVCodecContext.pkt to AVCodecInternalAnton Khirnov
It's a private field, not meant to be accessed from outside lavc.
2013-11-04pthread: store thread contexts in AVCodecInternal instead of AVCodecContextAnton Khirnov
It's a private field, it should not be visible to callers. Deprecate AVCodecContext.thread_opaque
2013-10-31lavc/utils: stop using deprecated avcodec_set_dimensionsAnton Khirnov
2013-10-31lavc: replace avcodec_set_dimensions with ff_set_dimensionsAnton Khirnov
avcodec_set_dimensions() is supposed to be an internal utility function, there is no reason whatsoever for it to be public. Therefore deprecate it.
2013-10-30lavc: add error checking to apply_param_change.Anton Khirnov
2013-09-27pcm: support 24-bit/32-bit little-endian planarPaul B Mahol
Used by LXF. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-08-21avcodec/utils: Simplify a condition that combines HAVE_NEON and ARCH_ARMDiego Biurrun
2013-08-02Disable deprecation warnings for cases where a replacement is availableDiego Biurrun
2013-06-20lavc: free the padded last frame during audio encoding properlyAnton Khirnov
2013-06-16utils: fix avcodec_flush_buffers pre-reference counting compatibilityJanne Grunau
The to_free AVframe must be freed just like the other ones. Indeed, the calling application may expect all frames to be released. (This regression caused use-after-free in VLC with hwaccel.) Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-06-10lavc: use AVFrame API properly in pad_last_frame().Anton Khirnov
This also simplifies the code.
2013-05-17lavc/pthread: remove obsolete checksAnton Khirnov
Those were useful when avcodec_thread_init() was a public functions. It was deprecated and removed some time ago, so those checks are not needed anymore.
2013-05-15pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov
2013-05-14lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors)Matt Wolenetz
This fixes https://bugzilla.libav.org/show_bug.cgi?id=514. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-05-07lavc: do not leak frames in avcodec_decode_audio4Luca Barbato
Notwithstanding the return value the frame should be freed if is not going to be used. Reported-by: Matthew Wolenetz <wolenetz@chromium.org>
2013-05-04avcodec: Add av_cold attributes to init functions missing themDiego Biurrun
2013-04-30avcodec: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun
2013-04-30lavc: clear AVBuffers on decoded frames if refcounted_frames is not setAnton Khirnov
Otherwise some code might mistakenly think it is allowed to unref those buffers, which would lead to double unref.
2013-04-19ff_get_buffer(): allocate the frame for max(coded,display) dimensionsAnton Khirnov
Needed e.g. for h264 cropping to work properly.
2013-04-10lavc: don't overwrite display dimensions with coded dimensions.Anton Khirnov
2013-04-10dsputil: Make dsputil selectableRonald S. Bultje
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-03-26utils: add workaround for AVHWAccel in ff_get_buffer compat codeJanne Grunau
Since c977039e585bfff28ecc037ef827c6c3d1ed88aa plane count for PIX_FMT_HWACCEL pixel formats is 0 instead of 1. The created dummy AVBuffers are still bogus since AVFrame does not hold frame data when AVHWAccels are used.
2013-03-26lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideoMartin Storsjö
Also move the declaration to internal.h, and add restrict qualifiers to the declaration (as in the implementation). Signed-off-by: Martin Storsjö <martin@martin.st>
2013-03-26lavc: Move start code finding to utils.cMartin Storsjö
This allows dropping the mpegvideo dependency from a number of components. This also fixes standalone building of the h264 parser, which was broken in 64e438697. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-03-19lavc, lavfi: fix counting number of planes in AVBufferRef wrappersAnton Khirnov
Number of planes is not always equal to the number of components even for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components in two planes.
2013-03-17lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappersAnton Khirnov
It is supposed to be height * linesize, not width * linesize. Thanks to Hendrik Leppkes for pointing out the bug.
2013-03-13Add av_log_{ask_for_sample|missing_feature} replacements to libavutilDiego Biurrun
This allows reporting missing features and requesting samples from all libraries in a standard way; with a simplified API.
2013-03-11avframe: call release_buffer only if it is setJanne Grunau
AVCodecContext release_buffer() shall be NULL for audio codecs using get_buffer. The backward compatibility code hence have to check before calling it.
2013-03-11lavc: fix get_buffer() compatibility layer for audio.Anton Khirnov
planes - FF_ARRAY_ELEMS would be evaluated as unsigned and underflow instead of being negative as was intended.
2013-03-09lavc: remove disabled FF_API_OLD_ENCODE_VIDEO cruftAnton Khirnov
2013-03-09lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruftAnton Khirnov
2013-03-09lavc: remove disabled FF_API_OLD_DECODE_AUDIO cruftAnton Khirnov
2013-03-08lavc: update the fallback versions of ff_thread_*Anton Khirnov
Fixes build without threads after 759001c534287a96dc96d1e274665feb7059145d.
2013-03-08lavc: make up a fake frame channel layout when there is no real one.Anton Khirnov
This should ensure that a valid channel layout is always set on a frame, until a better solution is implemented.
2013-03-08lavc: allow decoders to override frame parameters.Anton Khirnov