[MPlayer-cvslog] r23398 - trunk/libmpcodecs/ad_libvorbis.c

diego subversion at mplayerhq.hu
Mon May 28 10:18:24 CEST 2007


Author: diego
Date: Mon May 28 10:18:23 2007
New Revision: 23398

Log:
Move variable declaration into conditional to avoid an unused variable warning.


Modified:
   trunk/libmpcodecs/ad_libvorbis.c

Modified: trunk/libmpcodecs/ad_libvorbis.c
==============================================================================
--- trunk/libmpcodecs/ad_libvorbis.c	(original)
+++ trunk/libmpcodecs/ad_libvorbis.c	Mon May 28 10:18:23 2007
@@ -220,9 +220,9 @@ static int decode_audio(sh_audio_t *sh,u
 #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){



More information about the MPlayer-cvslog mailing list