tta: remove pointless braces

This commit is contained in:
Justin Ruggles 2011-09-22 13:19:36 -04:00
parent e6923f683c
commit 7b7a74a150
1 changed files with 2 additions and 4 deletions

View File

@ -279,11 +279,10 @@ static int tta_decode_frame(AVCodecContext *avctx,
int buf_size = avpkt->size;
TTAContext *s = avctx->priv_data;
int i;
int cur_chan = 0, framelen = s->frame_length;
int32_t *p;
init_get_bits(&s->gb, buf, buf_size*8);
{
int cur_chan = 0, framelen = s->frame_length;
int32_t *p;
// FIXME: seeking
s->total_frames--;
@ -395,7 +394,6 @@ static int tta_decode_frame(AVCodecContext *avctx,
default:
av_log(s->avctx, AV_LOG_ERROR, "Error, only 16bit samples supported!\n");
}
}
return buf_size;
}