diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-13 16:40:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-13 17:09:15 +0100 |
commit | 9006567bae4ac5e218a7eda79327797d53ef67c8 (patch) | |
tree | d8a4063ebea5b06fc0ac3e13d751c3835b49a595 /libavcodec | |
parent | 0634c5425306547e593bedbbbd2d982d7f0a27cf (diff) | |
download | ffmpeg-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.c | 2 |
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); |