summaryrefslogtreecommitdiffstats
path: root/libavcodec/g722.c
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 /libavcodec/g722.c
parent44a8b0ddd98cc5ef9eeaae73f380c4048a77ffe2 (diff)
downloadffmpeg-streaming-8b7dc087e4c46cd20702882aa50a930e97eeccad.zip
ffmpeg-streaming-8b7dc087e4c46cd20702882aa50a930e97eeccad.tar.gz
Add forgotten const to enum AVSampleFormat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/g722.c')
-rw-r--r--libavcodec/g722.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g722.c b/libavcodec/g722.c
index 0efc390..f00fa6a 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
OpenPOWER on IntegriCloud