Changeset 206
- Timestamp:
- 12/14/06 17:33:23 (2 years ago)
- Files:
-
- trunk/ff_private.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ff_private.c
r205 r206 890 890 //if we're not yet done with the import, calculate the movie load state. 891 891 int64_t timeToCompleteFile; //time until the file should be completely available, in terms of AV_TIME_BASE 892 long dataRate ;892 long dataRate = 0; 893 893 894 894 dataResult = DataHGetDataRate(storage->dataHandler, 0, &dataRate); 895 if(dataResult == noErr ) {895 if(dataResult == noErr && dataRate > 0) { 896 896 timeToCompleteFile = (AV_TIME_BASE * (storage->dataSize - availableSize)) / dataRate; 897 897
