Commit Graph

10 Commits

Author SHA1 Message Date
Andreas Rheinhardt a04ad248a0 avfilter: Constify all AVFilters
This is possible now that the next-API is gone.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27 11:48:05 -03:00
Paul B Mahol 954637805d avfilter/af_extrastereo: add support for commands 2019-12-27 20:57:06 +01:00
Paul B Mahol 0ee65ea95c avfilter/af_extrastereo: add timeline support 2019-05-01 12:33:56 +02:00
Paul B Mahol 88cbd25b19 avfilter: pass outlink to ff_get_audio_buffer()
This is more correct.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-01-03 22:52:47 +01:00
Paul B Mahol 185af4ccb1 avfilter/af_extrastereo: fix filtering when clipping is disabled
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-20 10:58:35 +01:00
Ganesh Ajjanagadde 6aaac24d72 avfilter/all: propagate errors of functions from avfilter/formats
Many of the functions from avfilter/formats can return errors, usually AVERROR(ENOMEM).
This propagates the return values.

All of these were found by using av_warn_unused_result, demonstrating its utility.

Tested with FATE. I am least sure of the changes to avfilter/filtergraph,
since I don't know what/how reduce_format is intended to behave and how it should
react to errors.

Fixes: CID 1325680, 1325679, 1325678.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Previous version Reviewed-by: Nicolas George <george@nsup.org>
Previous version Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-10-14 10:04:01 -04:00
Paul B Mahol a342c2a531 afilter/af_extrastereo: remove dead initialization
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-10-06 09:56:22 +02:00
Michael Niedermayer d1c8368e40 avfilter/af_extrastereo: Fix shadowed variable
Fixes CID1325675

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-06 03:16:24 +02:00
Clément Bœsch 6d79aae63c avfilter/extrastereo: use AV_OPT_TYPE_BOOL for clipping option 2015-09-08 23:14:00 +02:00
Paul B Mahol b31041adc3 avfilter: add extrastereo filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-08 10:43:17 +00:00