[FFmpeg-cvslog] r19952 - trunk/libavcodec/atrac1.c

banan subversion
Mon Sep 21 22:52:24 CEST 2009


Author: banan
Date: Mon Sep 21 22:52:24 2009
New Revision: 19952

Log:
Cosmetics. Merge declaration and initialization.

Modified:
   trunk/libavcodec/atrac1.c

Modified: trunk/libavcodec/atrac1.c
==============================================================================
--- trunk/libavcodec/atrac1.c	Mon Sep 21 22:49:08 2009	(r19951)
+++ trunk/libavcodec/atrac1.c	Mon Sep 21 22:52:24 2009	(r19952)
@@ -92,11 +92,9 @@ static const uint8_t   mdct_long_nbits[3
 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++)



More information about the ffmpeg-cvslog mailing list