[FFmpeg-cvslog] libmp3lame: add missing layout terminator

Michael Niedermayer git at videolan.org
Fri Jun 1 00:14:23 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun  1 00:07:36 2012 +0200| [e47e23698b4ba4388c00379e2b2443b2cfd0aa67] | committer: Michael Niedermayer

libmp3lame: add missing layout terminator

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e47e23698b4ba4388c00379e2b2443b2cfd0aa67
---

 libavcodec/libmp3lame.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index 1e50e0a..905d9a0 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,



More information about the ffmpeg-cvslog mailing list