aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-12 14:25:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-12 14:26:18 +0200
commit8b7dc087e4c46cd20702882aa50a930e97eeccad (patch)
tree811ec39da2617d22c0bf1a06724ef5904854d811
parent44a8b0ddd98cc5ef9eeaae73f380c4048a77ffe2 (diff)
downloadffmpeg-8b7dc087e4c46cd20702882aa50a930e97eeccad.tar.gz
Add forgotten const to enum AVSampleFormat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/amrnbdec.c2
-rw-r--r--libavcodec/amrwbdec.c2
-rw-r--r--libavcodec/g722.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/amrnbdec.c b/libavcodec/amrnbdec.c
index 2883b9c398..55dc8b05f5 100644
--- a/libavcodec/amrnbdec.c
+++ b/libavcodec/amrnbdec.c
@@ -1044,5 +1044,5 @@ AVCodec ff_amrnb_decoder = {
.init = amrnb_decode_init,
.decode = amrnb_decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("Adaptive Multi-Rate NarrowBand"),
- .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},
};
diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c
index 90bf1d5fdf..fa3f8dd050 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},
};
diff --git a/libavcodec/g722.c b/libavcodec/g722.c
index 0efc390afc..f00fa6a0e2 100644
--- a/libavcodec/g722.c
+++ b/libavcodec/g722.c
@@ -577,7 +577,7 @@ AVCodec ff_adpcm_g722_encoder = {
.close = g722_close,
.encode = g722_encode_frame,
.long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"),
- .sample_fmts = (enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
+ .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
};
#endif