aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ismindex.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-25 15:31:04 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-09 13:47:14 +0200
commitf5e1d38b87fb82c199ea293863789c8bfb7fe1bf (patch)
tree9b48bbbe0a74d8cf0f9b4bb41e24309bd5bbb96e /tools/ismindex.c
parenta513b306b3bb058f0501a72dd5169dfc39bf73ef (diff)
downloadffmpeg-f5e1d38b87fb82c199ea293863789c8bfb7fe1bf.tar.gz
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>
Diffstat (limited to 'tools/ismindex.c')
0 files changed, 0 insertions, 0 deletions