aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-26 21:03:58 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-26 21:03:58 +0200
commita48b890392aa22033f182421ba9e3f3b3256461d (patch)
tree1935e51580c73573cf65c175c67b2f1b5973fcbb
parent21e5dd93d772ed23d0af3dbc9cdfc37f51b05629 (diff)
downloadffmpeg-a48b890392aa22033f182421ba9e3f3b3256461d.tar.gz
aacdec: fix "may be used uninitialized" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/aacdec.c2
1 files changed, 2 insertions, 0 deletions
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);