diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-28 08:18:23 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-28 08:18:23 +0000 |
commit | 1fdbab9197d1e3d77fcc90c18eeeb33d5a7d57ef (patch) | |
tree | e960d3180c23947bb769112782634e58639ac19e /libmpcodecs | |
parent | fb70c99bcc485584e9a416940d8427fafd280eef (diff) |
Move variable declaration into conditional to avoid an unused variable warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23398 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/ad_libvorbis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/ad_libvorbis.c b/libmpcodecs/ad_libvorbis.c index 0b6ef3eac0..900dc87707 100644 --- a/libmpcodecs/ad_libvorbis.c +++ b/libmpcodecs/ad_libvorbis.c @@ -220,9 +220,9 @@ static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen) #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){ |