FFmpeg/libavfilter
Andreas Rheinhardt f5e1d38b87 avfilter/af_headphone: Avoid intermediate buffers I
The headphone filter has two modes; in one of them (say A), it needs
certain buffers to store data. But it allocated them in both modes.
Furthermore when in mode A it also allocated intermediate buffers of the
same size, initialized them, copied their contents into the permanent
buffers and freed them.

This commit changes this: The permanent buffer is only allocated when
needed; the temporary buffer has been completely avoided.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-09-09 13:47:14 +02:00
..
2020-02-14 09:59:27 +01:00
2020-04-30 12:18:36 +02:00
2020-08-23 10:40:55 +02:00
2020-03-17 22:46:36 +01:00
2020-09-04 19:37:29 +02:00
2020-02-14 21:49:47 +01:00
2020-02-04 18:28:04 +01:00
2020-07-08 15:23:43 +02:00
2020-02-29 22:31:01 +01:00
2020-05-30 18:04:14 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-02-04 18:28:04 +01:00
2020-05-23 15:52:27 +02:00
2020-04-18 12:34:49 +02:00
2020-03-17 22:46:36 +01:00