From 3e6e89b3d61876b49f4c5d17a36d40e96ccf7ce4 Mon Sep 17 00:00:00 2001
From: Alex Converse <alex.converse@gmail.com>
Date: Wed, 21 Mar 2012 09:35:45 -0700
Subject: [PATCH] mov: Add missing terminator to mov_ch_layout_map_1ch.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: Libav-stable@libav.org
---
 libavformat/mov_chan.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/mov_chan.c b/libavformat/mov_chan.c
index 5728ebd8980..a0fbecc9911 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[] = {
-- 
GitLab