mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +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:
parent
fb70c99bcc
commit
1fdbab9197
@ -220,9 +220,9 @@ static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen)
|
|||||||
#ifdef TREMOR
|
#ifdef TREMOR
|
||||||
ogg_int32_t **pcm;
|
ogg_int32_t **pcm;
|
||||||
#else
|
#else
|
||||||
|
float scale;
|
||||||
float **pcm;
|
float **pcm;
|
||||||
#endif
|
#endif
|
||||||
float scale;
|
|
||||||
struct ov_struct_st *ov = sh->context;
|
struct ov_struct_st *ov = sh->context;
|
||||||
while(len < minlen) {
|
while(len < minlen) {
|
||||||
while((samples=vorbis_synthesis_pcmout(&ov->vd,&pcm))<=0){
|
while((samples=vorbis_synthesis_pcmout(&ov->vd,&pcm))<=0){
|
||||||
|
Loading…
Reference in New Issue
Block a user