[FFmpeg-soc] [soc]: r1829 - aac/aac.c
andoma
subversion at mplayerhq.hu
Sat Jan 12 13:07:09 CET 2008
Author: andoma
Date: Sat Jan 12 13:07:09 2008
New Revision: 1829
Log:
remove superflous curly brackets and reindent
Modified:
aac/aac.c
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Sat Jan 12 13:07:09 2008
@@ -2259,16 +2259,16 @@ static int aac_decode_frame(AVCodecConte
// parse
while ((id = get_bits(gb, 3)) != ID_END) {
switch (id) {
- case ID_SCE: {
- if (!single_channel_struct(ac, gb))
- num_decoded += 1;
- break;
- }
- case ID_CPE: {
- if (!channel_pair_element(ac, gb))
- num_decoded += 2;
- break;
- }
+ case ID_SCE:
+ if (!single_channel_struct(ac, gb))
+ num_decoded += 1;
+ break;
+
+ case ID_CPE:
+ if (!channel_pair_element(ac, gb))
+ num_decoded += 2;
+ break;
+
case ID_FIL: {
int cnt = get_bits(gb, 4);
if (cnt == 15) cnt += get_bits(gb, 8) - 1;
More information about the FFmpeg-soc
mailing list