aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-01 00:07:36 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-10 14:06:50 +0200
commitbcbb30e2a0f3be3e6b158694687d0fde2f6db625 (patch)
tree331523b3ce43cda25dfaa4c77cdc2cba21511808
parent5db5169e46a5f1676aafb82ec8c3f5dc6fb6bb6d (diff)
downloadffmpeg-bcbb30e2a0f3be3e6b158694687d0fde2f6db625.tar.gz
libmp3lame: add missing layout terminator
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r--libavcodec/libmp3lame.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index 8f25438932..a747f656cc 100644
--- a/libavcodec/libmp3lame.c
+++ b/libavcodec/libmp3lame.c
@@ -305,7 +305,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,