summaryrefslogtreecommitdiff
path: root/libavfilter/af_channelmap.c
Commit message (Collapse)AuthorAge
* af_channelmap: properly set the supported output channel layoutsAnton Khirnov2015-07-23
| | | | | | | | | | The current code expects query_formats() to be called exactly once, it will leak if it's not called at all (filter initialized, but never configured or used) or try to read freed memory if it's called more than once. Found-by: James Almer <jamrial@gmail.com> CC: libav-stable@libav.org
* af_channelmap: Set the frame channel layoutLuca Barbato2014-08-02
| | | | | Otherwise the frame would show the first layout matching the channel count.
* af_channelmap: fix ONE_STR mapping modeAnton Khirnov2014-03-16
| | | | | | get_channel() returns 0 on success CC:libav-stable@libav.org
* lavfi: do not export the filters from shared objectsAnton Khirnov2013-10-28
|
* af_channelmap: ensure the output channel layout is valid.Anton Khirnov2013-04-30
|
* af_channelmap: remove now unnecessary gotoAnton Khirnov2013-04-30
| | | | | Options are freed from the generic code now, there is no need to call av_opt_free() from the filter.
* af_channelmap: cosmetics, use an extra local variable to shorten the codeAnton Khirnov2013-04-17
|
* af_channelmap: sanity check input channel indices in all cases.Anton Khirnov2013-04-17
| | | | | | Fixes invalid reads from non-existing channels. CC:libav-stable@libav.org
* af_channelmap: fix uninitialized variable use introduced in ↵Anton Khirnov2013-04-09
| | | | ba8efac977f4276f05274947b2b67d144cbc965a
* lavfi: remove now unused args parameter from AVFilter.initAnton Khirnov2013-04-09
|
* af_channelmap: switch to an AVOptions-based system.Anton Khirnov2013-04-09
|
* lavfi: switch to AVFrame.Anton Khirnov2013-03-08
| | | | | Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it and use AVFrame instead.
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-07
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* 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.
* af_channelmap: remove stray enum declarationMans Rullgard2012-10-27
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavfi: convert input/ouput list compound literals to named objectsMans Rullgard2012-10-10
| | | | | | | A number of compilers, for example those from TI and IBM, choke on these initialisers. The current style is also quite ugly. Signed-off-by: Mans Rullgard <mans@mansr.com>
* af_channelmap: free old extended_data on reallocationJanne Grunau2012-10-09
| | | | | Prevents writes to freed memory and the leak of the old extended data. Fixes CID732303.
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavfi: use const for AVFilterPad declarations in all filters.Ronald S. Bultje2012-07-21
|
* lavfi: add error handling to filter_samples().Anton Khirnov2012-07-09
|
* lavfi: remove 'opaque' parameter from AVFilter.init()Anton Khirnov2012-06-26
| | | | | | It is not used in any filters currently and is inherently evil. If passing binary data to filters is required in the future, it should be done with some AVOptions-based system.
* lavfi: Add the af_channelmap audio channel mapping filter.Alex Converse2012-06-22
Inspired by MPlayer's af_channels filter and SoX's remix effect.