Re: Wrap .aac into .m4a container
Re: Wrap .aac into .m4a container
- Subject: Re: Wrap .aac into .m4a container
- From: Thomas Clement <email@hidden>
- Date: Tue, 5 Aug 2008 10:13:35 +0200
Thanks for pointing this error, I wasn't setting the magic cookie.
However now I'm setting it and I'm still getting crashes:
#0 0x92ea4222 in OpaqueObject::FromOpaqueRef ()
#1 0x92f2a12d in AudioFileWritePackets ()
#2 0x00001e7d in main
Also if I add a call to NSLog, I get a new crash on it:
#0 0x91807131 in malloc_error_break ()
#1 0x9180211f in szone_error ()
#2 0x9172a6d1 in small_free_list_remove_ptr ()
#3 0x91727166 in szone_free ()
#4 0x92ffd60b in __CFDataDeallocate ()
#5 0x93038788 in _CFRelease ()
#6 0x9307ba94 in CFTimeZoneCreateWithName ()
#7 0x9307c29f in CFTimeZoneCopySystem ()
#8 0x9307c37f in CFTimeZoneCopyDefault ()
#9 0x92fedb25 in CFCalendarCreateWithIdentifier ()
#10 0x93093787 in __CFLogCString ()
#11 0x93093a8b in _CFLogvEx ()
#12 0x91274d2e in NSLogv ()
#13 0x912d412b in NSLog ()
#14 0x00001e27 in main
This is really weird.
I'll send you the code in a separate e-mail so you can take a look if
you wish.
Thanks,
Thomas
On Aug 5, 2008, at 8:50 AM, tahome izwah wrote:
Did you set the magic cookie before writing to the destination file?
--th
2008/7/30 Thomas Clement <email@hidden>:
Hi,
I successfully duplicated an .m4a file by using
AudioFileReadPackets and
AudioFileWritePackets (to check the code).
However when I use the same code to wrap an .aac file, depending on
the
source file I either get the following crash:
...
or the resulting .m4a produces no sound.
...
_______________________________________________
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