aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-09-22 13:19:36 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-25 11:22:02 -0400
commit7b7a74a1509348e5487a56c1cde8e48548a90ce3 (patch)
tree8a98b71dc952874b602e2430eb10eb6f7d5a9936 /libavcodec
parente6923f683c506cbb581eb7f31288801f1a065fb0 (diff)
downloadffmpeg-7b7a74a1509348e5487a56c1cde8e48548a90ce3.tar.gz
tta: remove pointless braces
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/tta.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index b77034cdf5..eed5a08cd3 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -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;
}