summaryrefslogtreecommitdiff
path: root/libavfilter/audio.c
Commit message (Collapse)AuthorAge
* lavfi: Drop deprecated AVFilterBuffer* codeVittorio Giovara2015-08-28
| | | | Deprecated in 11/2012.
* lavfi: switch ff_default_get_audio_buffer() to av_frame_get_buffer()Anton Khirnov2013-06-18
| | | | | This simplifies the code and avoids using libavcodec-specific avcodec_fill_audio_frame().
* lavfi: switch to AVFrame.Anton Khirnov2013-03-08
| | | | | Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it and use AVFrame instead.
* lavfi: merge start_frame/draw_slice/end_frameAnton Khirnov2012-11-28
| | | | | Any alleged performance benefits gained from the split are purely mythological and do not justify added code complexity.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavfi: properly signal out-of-memory error in ff_filter_samplesReinhard Tartler2012-08-05
| | | | Found with a clang-scan report on http://fate.libav.org/csa/
* lavfi: add error handling to filter_samples().Anton Khirnov2012-07-09
|
* lavfi/audio: eliminate ff_default_filter_samples().Anton Khirnov2012-06-22
| | | | | | | | | | | | It currently does the following: 1) get a zeroed audio buffer 2) copy some properties (but not the data) of the input buffer to it 3) pass this buffer to the output filter This looks useless and is indeed not used by any filters, therefore delete it. Make ff_null_filter_samples() (just pass the buffer to the next filter) the new default.
* lavfi/audio: don't set cur_buf in ff_filter_samples().Anton Khirnov2012-06-21
| | | | | | It's redundant, since the input buffer is passed as a parameter to the filter_samples() callback, and can lead to stale pointers remaining on the link.
* lavfi/audio: use av_samples_copy() instead of custom code.Anton Khirnov2012-06-13
| | | | Fixes a possible invalid write, found by Nicolas George.
* lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputsAnton Khirnov2012-06-13
| | | | This is more consistent with naming in the rest of Libav.
* lavfi: initialize pts to AV_NOPTS_VALUE when creating new buffer refs.Anton Khirnov2012-05-18
|
* lavfi: move audio-related functions to a separate file.Anton Khirnov2012-05-09
This is easier to follow than having them randomly scattered in avfilter.c and defaults.c.