Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-01-13 18:40:22 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-01-13 19:09:15 +0300
commit9006567bae4ac5e218a7eda79327797d53ef67c8 (patch)
treed8a4063ebea5b06fc0ac3e13d751c3835b49a595 /libavcodec/aacenc.c
parent0634c5425306547e593bedbbbd2d982d7f0a27cf (diff)
avcodec/aacenc: mark output as const as its not written to
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/aacenc.c')
-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);