aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-01-13 16:40:22 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-01-13 17:09:15 +0100
commit9006567bae4ac5e218a7eda79327797d53ef67c8 (patch)
treed8a4063ebea5b06fc0ac3e13d751c3835b49a595 /libavcodec
parent0634c5425306547e593bedbbbd2d982d7f0a27cf (diff)
downloadffmpeg-9006567bae4ac5e218a7eda79327797d53ef67c8.tar.gz
avcodec/aacenc: mark output as const as its not written to
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 127ad4a810..2a3fc6e1c4 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);