Re: Crash for AAC codec
Re: Crash for AAC codec
- Subject: Re: Crash for AAC codec
- From: Eric Allamanche <email@hidden>
- Date: Mon, 2 Jun 2008 21:48:40 -0700
Thanks for pointing this out. We will look into it.
Eric
On Jun 2, 2008, at 9:36 PM, Sandeep Chandna wrote:
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