[FFmpeg-cvslog] libmp3lame: add missing layout terminator

Michael Niedermayer git at videolan.org
Thu Jun 7 01:44:18 CEST 2012


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

libmp3lame: add missing layout terminator

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit e47e23698b4ba4388c00379e2b2443b2cfd0aa67)

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

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

 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