summaryrefslogtreecommitdiff
path: root/libavcodec/flacdec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-01-24 16:13:21 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-01-24 16:13:21 +0000
commit13de8a080a6b458c4c1e3110f0bda5685e3ab486 (patch)
tree05a54ab6064235c33304c172c3558846817ec5ef /libavcodec/flacdec.c
parent5305f40bb8d1d0204b9f4249012d21b229302e78 (diff)
cosmetics: indentation
Originally committed as revision 16753 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flacdec.c')
-rw-r--r--libavcodec/flacdec.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index 88977c6268..7dbdd4fafa 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -602,20 +602,20 @@ static int flac_decode_frame(AVCodecContext *avctx,
if(metadata_parse(s))
goto end;
- tmp = show_bits(&s->gb, 16);
- if((tmp & 0xFFFE) != 0xFFF8){
- av_log(s->avctx, AV_LOG_ERROR, "FRAME HEADER not here\n");
- while(get_bits_count(&s->gb)/8+2 < buf_size && (show_bits(&s->gb, 16) & 0xFFFE) != 0xFFF8)
- skip_bits(&s->gb, 8);
- goto end; // we may not have enough bits left to decode a frame, so try next time
- }
- skip_bits(&s->gb, 16);
- if (decode_frame(s, alloc_data_size) < 0){
- av_log(s->avctx, AV_LOG_ERROR, "decode_frame() failed\n");
- s->bitstream_size=0;
- s->bitstream_index=0;
- return -1;
- }
+ tmp = show_bits(&s->gb, 16);
+ if((tmp & 0xFFFE) != 0xFFF8){
+ av_log(s->avctx, AV_LOG_ERROR, "FRAME HEADER not here\n");
+ while(get_bits_count(&s->gb)/8+2 < buf_size && (show_bits(&s->gb, 16) & 0xFFFE) != 0xFFF8)
+ skip_bits(&s->gb, 8);
+ goto end; // we may not have enough bits left to decode a frame, so try next time
+ }
+ skip_bits(&s->gb, 16);
+ if (decode_frame(s, alloc_data_size) < 0){
+ av_log(s->avctx, AV_LOG_ERROR, "decode_frame() failed\n");
+ s->bitstream_size=0;
+ s->bitstream_index=0;
+ return -1;
+ }
#define DECORRELATE(left, right)\
assert(s->channels == 2);\