comparison decoders/aiff.c @ 400:9d0b5ec9cc26

FIXME cleanups.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 11 Jul 2002 05:28:52 +0000
parents fb519e6028e3
children c66080364dff 45ee760a6f5a
comparison
equal deleted inserted replaced
399:e435bdcad552 400:9d0b5ec9cc26
277 if (SDL_RWread(rw, &ssnd->blockSize, sizeof (ssnd->blockSize), 1) != 1) 277 if (SDL_RWread(rw, &ssnd->blockSize, sizeof (ssnd->blockSize), 1) != 1)
278 return(0); 278 return(0);
279 ssnd->blockSize = SDL_SwapBE32(ssnd->blockSize); 279 ssnd->blockSize = SDL_SwapBE32(ssnd->blockSize);
280 280
281 /* Leave the SDL_RWops position indicator at the start of the samples */ 281 /* Leave the SDL_RWops position indicator at the start of the samples */
282 /* !!! FIXME: Int? Really? */
283 if (SDL_RWseek(rw, (int) ssnd->offset, SEEK_CUR) == -1) 282 if (SDL_RWseek(rw, (int) ssnd->offset, SEEK_CUR) == -1)
284 return(0); 283 return(0);
285 284
286 return(1); 285 return(1);
287 } /* read_ssnd_chunk */ 286 } /* read_ssnd_chunk */