load_aiff.c
changeset 473 60b7e1c4f6b2
parent 386 695494546b3c
child 518 8bc9b5fd2aae
     1.1 --- a/load_aiff.c	Sun Nov 08 17:03:07 2009 +0000
     1.2 +++ b/load_aiff.c	Sun Nov 08 17:11:09 2009 +0000
     1.3 @@ -177,7 +177,7 @@
     1.4  			next_chunk++;
     1.5  	} while ( ( ( (AIFFmagic == AIFF) && ( !found_SSND || !found_COMM ) )
     1.6  		  || ( (AIFFmagic == _8SVX ) && ( !found_VHDR || !found_BODY ) ) )
     1.7 -		  && SDL_RWseek(src, next_chunk, SEEK_SET) != 1 );
     1.8 +		  && SDL_RWseek(src, next_chunk, RW_SEEK_SET) != 1 );
     1.9  
    1.10  	if ( (AIFFmagic == AIFF) && !found_SSND ) {
    1.11  		SDL_SetError("Bad AIFF (no SSND chunk)");
    1.12 @@ -227,7 +227,7 @@
    1.13  		SDL_SetError("Out of memory");
    1.14  		return(NULL);
    1.15  	}
    1.16 -	SDL_RWseek(src, start, SEEK_SET);
    1.17 +	SDL_RWseek(src, start, RW_SEEK_SET);
    1.18  	if ( SDL_RWread(src, *audio_buf, *audio_len, 1) != 1 ) {
    1.19  		SDL_SetError("Unable to read audio data");
    1.20  		return(NULL);