Mercurial > SDL_sound_CoreAudio
diff decoders/smpeg.c @ 477:3e705c9180e5
Fixed binary compatibility, added Sound_GetDuration().
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 12 May 2004 02:15:00 +0000 |
parents | c66080364dff |
children | 16cbfcb8d7fb |
line wrap: on
line diff
--- a/decoders/smpeg.c Sat May 08 22:06:14 2004 +0000 +++ b/decoders/smpeg.c Wed May 12 02:15:00 2004 +0000 @@ -212,7 +212,7 @@ sample->actual.rate = spec.freq; sample->actual.channels = spec.channels; sample->flags = SOUND_SAMPLEFLAG_CANSEEK; - sample->total_time = smpeg_info.total_time * 1000; + internal->total_time = smpeg_info.total_time * 1000; internal->decoder_private = smpeg; SMPEG_play(smpeg);