Mercurial > SDL_sound_CoreAudio
comparison decoders/quicktime.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 | a737d89af74e |
comparison
equal
deleted
inserted
replaced
475:f0b8865577db | 477:3e705c9180e5 |
---|---|
545 qt_t *instance; | 545 qt_t *instance; |
546 | 546 |
547 instance = QT_open_internal(sample, ext); | 547 instance = QT_open_internal(sample, ext); |
548 internal->decoder_private = (void*)instance; | 548 internal->decoder_private = (void*)instance; |
549 | 549 |
550 sample->total_time = -1; /* return -1 for total time of song for now */ | 550 internal->total_time = -1; /* return -1 for total time of song for now */ |
551 | 551 |
552 return(instance != NULL); | 552 return(instance != NULL); |
553 | 553 |
554 } /* QT_open */ | 554 } /* QT_open */ |
555 | 555 |