summaryrefslogtreecommitdiff
path: root/libavfilter/af_compensationdelay.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-02-08 09:51:17 +0100
committerAnton Khirnov <anton@khirnov.net>2020-05-22 14:38:57 +0200
commitf30a41a6086eb8c10f66090739a2a4f8491c3c7a (patch)
treefcd7dfaa1be12dff576c2e31fa719fc3867b1b34 /libavfilter/af_compensationdelay.c
parent8cfab9fa8c1529f3d4db3e7d5b317acdbc08d37d (diff)
downloadffmpeg-f30a41a6086eb8c10f66090739a2a4f8491c3c7a.tar.gz
Stop hardcoding align=32 in av_frame_get_buffer() calls.
Use 0, which selects the alignment automatically.
Diffstat (limited to 'libavfilter/af_compensationdelay.c')
-rw-r--r--libavfilter/af_compensationdelay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_compensationdelay.c b/libavfilter/af_compensationdelay.c
index 05285cd297..793332584b 100644
--- a/libavfilter/af_compensationdelay.c
+++ b/libavfilter/af_compensationdelay.c
@@ -115,7 +115,7 @@ static int config_input(AVFilterLink *inlink)
s->delay_frame->nb_samples = new_size;
s->delay_frame->channel_layout = inlink->channel_layout;
- return av_frame_get_buffer(s->delay_frame, 32);
+ return av_frame_get_buffer(s->delay_frame, 0);
}
static int filter_frame(AVFilterLink *inlink, AVFrame *in)