[FFmpeg-cvslog] mov: Add missing terminator to mov_ch_layout_map_1ch.

Alex Converse git at videolan.org
Thu Mar 22 23:30:29 CET 2012


ffmpeg | branch: master | Alex Converse <alex.converse at gmail.com> | Wed Mar 21 09:35:45 2012 -0700| [3e6e89b3d61876b49f4c5d17a36d40e96ccf7ce4] | committer: Alex Converse

mov: Add missing terminator to mov_ch_layout_map_1ch.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: Libav-stable at libav.org

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

 libavformat/mov_chan.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/mov_chan.c b/libavformat/mov_chan.c
index 5728ebd..a0fbecc 100644
--- a/libavformat/mov_chan.c
+++ b/libavformat/mov_chan.c
@@ -155,6 +155,7 @@ static const struct MovChannelLayoutMap mov_ch_layout_map_misc[] = {
 
 static const struct MovChannelLayoutMap mov_ch_layout_map_1ch[] = {
     { MOV_CH_LAYOUT_MONO,               AV_CH_LAYOUT_MONO }, // C
+    { 0, 0 },
 };
 
 static const struct MovChannelLayoutMap mov_ch_layout_map_2ch[] = {



More information about the ffmpeg-cvslog mailing list