mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
Make sample_fmts and channel_layouts compound literals const to reduce size of
.data section. Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -392,7 +392,7 @@ AVCodec wmav1_encoder =
|
||||
encode_init,
|
||||
encode_superframe,
|
||||
ff_wma_end,
|
||||
.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("Windows Media Audio 1"),
|
||||
};
|
||||
|
||||
@ -405,6 +405,6 @@ AVCodec wmav2_encoder =
|
||||
encode_init,
|
||||
encode_superframe,
|
||||
ff_wma_end,
|
||||
.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("Windows Media Audio 2"),
|
||||
};
|
||||
|
Reference in New Issue
Block a user