diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-04-12 08:55:20 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-04-12 08:55:20 +0200 |
commit | 4e54848bd17d1956e514b0be7a3e672d8a7f7b54 (patch) | |
tree | bd3abe2b41b24f3805a0809eb156308a4dfdf482 | |
parent | 72eb6dfe4990238e99c1843ff07e199c44914fa4 (diff) | |
download | ffmpeg-4e54848bd17d1956e514b0be7a3e672d8a7f7b54.tar.gz |
Use const where appropriate.
Spotted by Reimar.
-rw-r--r-- | libavcodec/libvo-aacenc.c | 2 | ||||
-rw-r--r-- | libavcodec/libvo-amrwbenc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libvo-aacenc.c b/libavcodec/libvo-aacenc.c index f819acbd2e..7e2e3070b1 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("VisualOn libvo-aacenc AAC"), }; diff --git a/libavcodec/libvo-amrwbenc.c b/libavcodec/libvo-amrwbenc.c index 7dbd20beb2..c5c3b4eaf7 100644 --- a/libavcodec/libvo-amrwbenc.c +++ b/libavcodec/libvo-amrwbenc.c @@ -120,7 +120,7 @@ AVCodec ff_libvo_amrwbenc_encoder = { amr_wb_encode_frame, amr_wb_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("VisualOn libvo-amrwbenc Adaptive Multi-Rate " "(AMR) Wide-Band"), }; |