Commit 77ab341c authored by Vittorio Giovara's avatar Vittorio Giovara

aacdec: add default case in channel layout

Bug-Id: CID 732291
parent 930ffd46
...@@ -624,6 +624,9 @@ static void decode_channel_map(uint8_t layout_map[][3], ...@@ -624,6 +624,9 @@ static void decode_channel_map(uint8_t layout_map[][3],
case AAC_CHANNEL_LFE: case AAC_CHANNEL_LFE:
syn_ele = TYPE_LFE; syn_ele = TYPE_LFE;
break; break;
default:
// AAC_CHANNEL_OFF has no channel map
return;
} }
layout_map[0][0] = syn_ele; layout_map[0][0] = syn_ele;
layout_map[0][1] = get_bits(gb, 4); layout_map[0][1] = get_bits(gb, 4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment