cosmetics: indentation after last commit

Originally committed as revision 17796 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Justin Ruggles 16 years ago
parent 55a727383b
commit 6a85fb34c9
  1. 44
      libavcodec/flacdec.c

@ -231,33 +231,33 @@ static int metadata_parse(FLACContext *s)
int i, metadata_last, metadata_type, metadata_size; int i, metadata_last, metadata_type, metadata_size;
int initial_pos= get_bits_count(&s->gb); int initial_pos= get_bits_count(&s->gb);
skip_bits_long(&s->gb, 32); skip_bits_long(&s->gb, 32);
do { do {
metadata_last = get_bits1(&s->gb); metadata_last = get_bits1(&s->gb);
metadata_type = get_bits(&s->gb, 7); metadata_type = get_bits(&s->gb, 7);
metadata_size = get_bits_long(&s->gb, 24); metadata_size = get_bits_long(&s->gb, 24);
if (get_bits_count(&s->gb) + 8*metadata_size > s->gb.size_in_bits) { if (get_bits_count(&s->gb) + 8*metadata_size > s->gb.size_in_bits) {
skip_bits_long(&s->gb, initial_pos - get_bits_count(&s->gb)); skip_bits_long(&s->gb, initial_pos - get_bits_count(&s->gb));
break; break;
} }
if (metadata_size) { if (metadata_size) {
switch (metadata_type) { switch (metadata_type) {
case FLAC_METADATA_TYPE_STREAMINFO: case FLAC_METADATA_TYPE_STREAMINFO:
if (!s->got_streaminfo) { if (!s->got_streaminfo) {
ff_flac_parse_streaminfo(s->avctx, (FLACStreaminfo *)s, ff_flac_parse_streaminfo(s->avctx, (FLACStreaminfo *)s,
s->gb.buffer+get_bits_count(&s->gb)/8); s->gb.buffer+get_bits_count(&s->gb)/8);
allocate_buffers(s); allocate_buffers(s);
s->got_streaminfo = 1; s->got_streaminfo = 1;
}
default:
for (i = 0; i < metadata_size; i++)
skip_bits(&s->gb, 8);
} }
default:
for (i = 0; i < metadata_size; i++)
skip_bits(&s->gb, 8);
} }
} while (!metadata_last); }
} while (!metadata_last);
return 0; return 0;
} }

Loading…
Cancel
Save