diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c index 1e50e0a48b..905d9a0d4c 100644 --- a/libavcodec/libmp3lame.c +++ b/libavcodec/libmp3lame.c @@ -304,7 +304,8 @@ AVCodec ff_libmp3lame_encoder = { AV_SAMPLE_FMT_NONE }, .supported_samplerates = libmp3lame_sample_rates, .channel_layouts = (const uint64_t[]) { AV_CH_LAYOUT_MONO, - AV_CH_LAYOUT_STEREO }, + AV_CH_LAYOUT_STEREO, + 0}, .long_name = NULL_IF_CONFIG_SMALL("libmp3lame MP3 (MPEG audio layer 3)"), .priv_class = &libmp3lame_class, .defaults = libmp3lame_defaults,