mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-16 07:32:34 +03:00
Use const where appropriate.
Spotted by Reimar.
This commit is contained in:
1 parent
72eb6dfe49
commit
4e54848bd1
2 files changed
+2
-2
No files matched your search
@@ -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"),
|
||||
};
|
||||
|
||||
@@ -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"),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user