diff libmpcodecs/ad_libvorbis.c @ 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 2ec2301183cd
children 21ce55d8dde0
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){