Crash for AAC codec
Crash for AAC codec
- Subject: Crash for AAC codec
- From: "Sandeep Chandna" <email@hidden>
- Date: Tue, 3 Jun 2008 10:06:07 +0530
Hi,
In my Audio encoding application I am using QTSetComponentProperty to get codec properties and for encoding. When I call this function for AAC audio codec it crashes on Windows (for QT7.4.5).
Surprisingly for other QT versions it has worked just fine and the crash was never seen.
This is how I am calling the function.
crErr = QTSetComponentProperty( ci , kQTPropertyClass_SCAudio,
kQTSCAudioPropertyID_BasicDescription,
sizeof(asbd), &asbd);
where asbd is
asbd.mFormatID = 1633772320; // aac
asbd.mFormatFlags = 0;
asbd.mBytesPerPacket = 0;
asbd.mBitsPerChannel = 0;
asbd.mFramesPerPacket = 0;
asbd.mBytesPerFrame = 0;
asbd.mSampleRate = 32000;
asbd.mChannelsPerFrame = 1;
asbd.mReserved = 0;
Is there any way to avoid this crash? Any help is appreciated.
Thanks
~S
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden