From a48b890392aa22033f182421ba9e3f3b3256461d Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Sat, 26 May 2012 21:03:58 +0200
Subject: aacdec: fix "may be used uninitialized" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libavcodec/aacdec.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'libavcodec/aacdec.c')

diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index d4f48bb791..b38ed7ed5c 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -572,6 +572,8 @@ static void decode_channel_map(uint8_t layout_map[][3],
         case AAC_CHANNEL_LFE:
             syn_ele = TYPE_LFE;
             break;
+        default:
+            av_assert0(0);
         }
         layout_map[0][0] = syn_ele;
         layout_map[0][1] = get_bits(gb, 4);
-- 
cgit v1.2.3