Changeset 525
- Timestamp:
- 05/18/07 03:17:12 (1 year ago)
- Files:
-
- trunk/FFissionCodec/FFissionCodec.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/FFissionCodec/FFissionCodec.cpp
r513 r525 135 135 136 136 case kAudioCodecPropertyPacketFrameSize: 137 if (avContext )137 if (avContext && avContext->frame_size) 138 138 *reinterpret_cast<UInt32*>(outPropertyData) = avContext->frame_size; 139 else if (mInputFormat.mFramesPerPacket) 140 *reinterpret_cast<UInt32*>(outPropertyData) = mInputFormat.mFramesPerPacket; 139 141 else 140 *reinterpret_cast<UInt32*>(outPropertyData) = mInputFormat.mFramesPerPacket; 142 // not perfect but returning 0 can crash on intel 143 *reinterpret_cast<UInt32*>(outPropertyData) = 1; 141 144 break; 142 145
