aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/amrwbdec.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/amrwbdec.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/amrwbdec.c')
-rw-r--r--libavcodec/amrwbdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c
index 00df227b5e..d4bb7760ef 100644
--- a/libavcodec/amrwbdec.c
+++ b/libavcodec/amrwbdec.c
@@ -1233,5 +1233,5 @@ AVCodec ff_amrwb_decoder = {
.init = amrwb_decode_init,
.decode = amrwb_decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("Adaptive Multi-Rate WideBand"),
- .sample_fmts = (enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
+ .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
};