Commit 4e54848b authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Use const where appropriate.

Spotted by Reimar.
parent 72eb6dfe
...@@ -122,7 +122,7 @@ AVCodec ff_libvo_aacenc_encoder = { ...@@ -122,7 +122,7 @@ AVCodec ff_libvo_aacenc_encoder = {
aac_encode_frame, aac_encode_frame,
aac_encode_close, aac_encode_close,
NULL, 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"), .long_name = NULL_IF_CONFIG_SMALL("VisualOn libvo-aacenc AAC"),
}; };
...@@ -120,7 +120,7 @@ AVCodec ff_libvo_amrwbenc_encoder = { ...@@ -120,7 +120,7 @@ AVCodec ff_libvo_amrwbenc_encoder = {
amr_wb_encode_frame, amr_wb_encode_frame,
amr_wb_encode_close, amr_wb_encode_close,
NULL, 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 " .long_name = NULL_IF_CONFIG_SMALL("VisualOn libvo-amrwbenc Adaptive Multi-Rate "
"(AMR) Wide-Band"), "(AMR) Wide-Band"),
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment