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:
b6a2370
)
Cosmetics. Merge declaration and initialization.
author
Benjamin Larsson
<banan@ludd.ltu.se>
Mon, 21 Sep 2009 20:52:24 +0000
(20:52 +0000)
committer
Benjamin Larsson
<banan@ludd.ltu.se>
Mon, 21 Sep 2009 20:52:24 +0000
(20:52 +0000)
Originally committed as revision 19952 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/atrac1.c
patch
|
blob
|
history
diff --git
a/libavcodec/atrac1.c
b/libavcodec/atrac1.c
index
fc2b6e4
..
00b01a5
100644
(file)
--- a/
libavcodec/atrac1.c
+++ b/
libavcodec/atrac1.c
@@
-92,11
+92,9
@@
static const uint8_t mdct_long_nbits[3] = {7, 7, 8};
static void at1_imdct(AT1Ctx *q, float *spec, float *out, int nbits,
int rev_spec)
{
- FFTContext* mdct_context;
+ FFTContext* mdct_context
= &q->mdct_ctx[nbits - 5 - (nbits > 6)]
;
int transf_size = 1 << nbits;
- mdct_context = &q->mdct_ctx[nbits - 5 - (nbits > 6)];
-
if (rev_spec) {
int i;
for (i = 0; i < transf_size / 2; i++)