wavestream.c
changeset 29 44b09d6e1170
parent 24 a25bb2d59ce8
child 42 69145e9bda35
     1.1 --- a/wavestream.c	Mon Dec 27 19:18:10 1999 +0000
     1.2 +++ b/wavestream.c	Mon Dec 27 19:24:50 1999 +0000
     1.3 @@ -248,7 +248,7 @@
     1.4  		was_error = 1;
     1.5  		goto done;
     1.6  	}
     1.7 -		
     1.8 +
     1.9  	/* Check the magic header */
    1.10  	RIFFchunk	= SDL_ReadLE32(src);
    1.11  	wavelen		= SDL_ReadLE32(src);
    1.12 @@ -356,8 +356,6 @@
    1.13  	int was_error;
    1.14  	FILE *wavefp;
    1.15  	SDL_RWops *src;
    1.16 -	Chunk chunk;
    1.17 -	int lenread;
    1.18  
    1.19  	/* AIFF magic header */
    1.20  	Uint32 FORMchunk;
    1.21 @@ -379,7 +377,7 @@
    1.22  		Uint32 l2;
    1.23  		Uint16 s1;
    1.24  	} sane_freq;
    1.25 -	
    1.26 +
    1.27  	Uint32 frequency;
    1.28  
    1.29  
    1.30 @@ -394,7 +392,7 @@
    1.31  		was_error = 1;
    1.32  		goto done;
    1.33  	}
    1.34 -		
    1.35 +
    1.36  	/* Check the magic header */
    1.37  	FORMchunk	= SDL_ReadLE32(src);
    1.38  	chunklen	= SDL_ReadLE32(src);