Changeset 205
- Timestamp:
- 12/10/06 19:57:41 (2 years ago)
- Files:
-
- trunk/ff_private.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ff_private.c
r204 r205 601 601 /* now parse the index entries */ 602 602 for(k = 0; k < stream->nb_index_entries; k++) { 603 604 *hadIndex = 1;605 603 606 604 /* file offset */ … … 661 659 } 662 660 } 663 /* Add all of the samples to the media */ 664 AddMediaSampleReferences64(ncstr->media, ncstr->sampleHdl, sampleNum, ncstr->sampleTable, NULL); 665 free(ncstr->sampleTable); 661 if(sampleNum != 0) 662 { 663 /* Add all of the samples to the media */ 664 AddMediaSampleReferences64(ncstr->media, ncstr->sampleHdl, sampleNum, ncstr->sampleTable, NULL); 665 free(ncstr->sampleTable); 666 667 /* The index is both present and not empty */ 668 *hadIndex = 1; 669 } 666 670 } 667 671
