changeset 23380:8ef36374e8c5

Move variable declaration into conditional to avoid an unused variable warning.
author diego
date Mon, 28 May 2007 08:18:23 +0000
parents 0c6e8d9da11a
children 300e9b7c499f
files libmpcodecs/ad_libvorbis.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_libvorbis.c	Mon May 28 08:12:41 2007 +0000
+++ b/libmpcodecs/ad_libvorbis.c	Mon May 28 08:18:23 2007 +0000
@@ -220,9 +220,9 @@
 #ifdef TREMOR
         ogg_int32_t **pcm;
 #else
+        float scale;
         float **pcm;
 #endif
-        float scale;
         struct ov_struct_st *ov = sh->context;
 	while(len < minlen) {
 	  while((samples=vorbis_synthesis_pcmout(&ov->vd,&pcm))<=0){