1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-20 10:17:31 +00:00

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
This commit is contained in:
diego 2007-05-28 08:18:23 +00:00
parent fb70c99bcc
commit 1fdbab9197

View File

@ -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){