1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

aacdec: add default case in channel layout

Bug-Id: CID 732291
This commit is contained in:
Vittorio Giovara 2014-10-30 00:52:01 +00:00
parent 930ffd46e1
commit 77ab341c0c

View File

@ -624,6 +624,9 @@ static void decode_channel_map(uint8_t layout_map[][3],
case AAC_CHANNEL_LFE:
syn_ele = TYPE_LFE;
break;
default:
// AAC_CHANNEL_OFF has no channel map
return;
}
layout_map[0][0] = syn_ele;
layout_map[0][1] = get_bits(gb, 4);