aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libvo-aacenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-04-12 10:32:43 +0300
committerMartin Storsjö <martin@martin.st>2011-04-12 12:38:37 +0300
commitc41eb2ade4f862dc5f5e7c09c717d4f7f911a15e (patch)
tree68e39090ce736c9ddbe6e1ee7da5b28a5b968612 /libavcodec/libvo-aacenc.c
parent2f072b55a49eb56b1bcffdda344f21d09981430b (diff)
downloadffmpeg-c41eb2ade4f862dc5f5e7c09c717d4f7f911a15e.tar.gz
libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initialization
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/libvo-aacenc.c')
-rw-r--r--libavcodec/libvo-aacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvo-aacenc.c b/libavcodec/libvo-aacenc.c
index 65c2745695..eb340580a5 100644
--- a/libavcodec/libvo-aacenc.c
+++ b/libavcodec/libvo-aacenc.c
@@ -122,7 +122,7 @@ AVCodec ff_libvo_aacenc_encoder = {
aac_encode_frame,
aac_encode_close,
NULL,
- .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
+ .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("libvo-aacenc AAC"),
};