1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

tta: remove pointless braces

This commit is contained in:
Justin Ruggles
2011-09-22 13:19:36 -04:00
parent e6923f683c
commit 7b7a74a150

View File

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