Mercurial > SDL_sound_CoreAudio
changeset 449:daeb71a3f1ed
Extremely minor cleanup.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 13 Sep 2003 20:27:33 +0000 |
parents | 139cb6ef0491 |
children | 6d328f00c20d |
files | decoders/voc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/decoders/voc.c Tue Aug 05 10:07:31 2003 +0000 +++ b/decoders/voc.c Sat Sep 13 20:27:33 2003 +0000 @@ -454,7 +454,6 @@ v = (vs_t *) malloc(sizeof (vs_t)); BAIL_IF_MACRO(v == NULL, ERR_OUT_OF_MEMORY, 0); memset(v, '\0', sizeof (vs_t)); - internal->decoder_private = v; v->start_pos = SDL_RWtell(internal->rw); v->rate = -1; @@ -474,6 +473,7 @@ sample->actual.format = (v->size == ST_SIZE_WORD) ? AUDIO_S16LSB:AUDIO_U8; sample->actual.channels = v->channels; sample->flags = SOUND_SAMPLEFLAG_CANSEEK; + internal->decoder_private = v; return(1); } /* VOC_open */