From 9006567bae4ac5e218a7eda79327797d53ef67c8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michael@niedermayer.cc> Date: Wed, 13 Jan 2016 16:40:22 +0100 Subject: [PATCH] avcodec/aacenc: mark output as const as its not written to Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavcodec/aacenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 127ad4a8104..2a3fc6e1c46 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -154,7 +154,7 @@ static void apply_window_and_mdct(AACEncContext *s, SingleChannelElement *sce, float *audio) { int i; - float *output = sce->ret_buf; + const float *output = sce->ret_buf; apply_window[sce->ics.window_sequence[0]](s->fdsp, sce, audio); -- GitLab