Changeset 98
- Timestamp:
- 09/22/06 11:01:52 (2 years ago)
- Files:
-
- trunk/ff_private.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ff_private.c
r92 r98 593 593 /* FIXME: check if that's really the right thing to do here */ 594 594 if(ncstr->vbr) { 595 if(codec->frame_size == ncstr->base.num || codec->frame_size == 0) {595 if(codec->frame_size == ncstr->base.num || (codec->frame_size == 0 && ncstr->base.num > 1)) { 596 596 /* frame_size is set to zero for AAC and some MP3 tracks and it works this way */ 597 597 sampleRec.durationPerSample = ncstr->base.num; 598 598 sampleRec.numberOfSamples = 1; 599 599 } else { 600 /* this logic seems to be needed even iff ncstr->base.num == 1, but I'm not entirely sure */ 600 601 /* This seems to work. Although I have no idea why. 601 602 * Perhaps the stream's timebase is adjusted to
