Commit 7b7a74a1 authored by Justin Ruggles's avatar Justin Ruggles

tta: remove pointless braces

parent e6923f68
...@@ -279,11 +279,10 @@ static int tta_decode_frame(AVCodecContext *avctx, ...@@ -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, ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment