projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6923f6
)
tta: remove pointless braces
author
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 22 Sep 2011 17:19:36 +0000
(13:19 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 25 Oct 2011 15:22:02 +0000
(11:22 -0400)
libavcodec/tta.c
patch
|
blob
|
history
diff --git
a/libavcodec/tta.c
b/libavcodec/tta.c
index
b77034c
..
eed5a08
100644
(file)
--- 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;
}