Hello anyone knows about this problem? On Thu, Feb 25, 2010 at 9:26 AM, iPhone dev <[email protected]> wrote:
> Yeah, Leaking error got removed because of Autorelease Pool but still i am > getting Error while decoding. > > > On Wed, Feb 24, 2010 at 6:19 PM, Mark Heath <[email protected]>wrote: > >> >> You are mixing C and NS classes, without using interface builder or a nib >> file. >> >> you need to create an auto release pool >> >> Add this to the global section of your code >> >> NSAutoreleasePool *pool; >> >> add this to the start of your main function: >> >> pool = [[NSAutoreleasePool alloc] init]; >> >> >> and this to the end of your main function >> >> [pool release]; >> >> >> I'm not sure about the audio decoding error, but this will get rid of the >> "just leaking" warning. >> >> Mark >> >> >> On 24/02/2010, at 11:34 PM, iPhone dev wrote: >> >> Hi Friend, >>> >>> I have to convert AAC file to Mp3 in my project for detecting BPM. >>> >>> I installed FFMPEG and i added all the library and i am not getting any >>> compiler error but it crashes when i run the project. >>> >>> I am getting following error, >>> >>> [Session started at 2010-02-23 19:22:13 +0530.] >>> 2010-02-23 19:22:14.641 New Decode[7170:10b] *** _NSAutoreleaseNoPool(): >>> Object 0x20a2d0 of class NSCFData autoreleased with no pool in place - >>> just >>> leaking >>> Stack: (0x967a8f4f 0x966b5432 0x966c9b25 0x966c9701 0x2eb2 0x28de) >>> 2010-02-23 19:22:14.649 New Decode[7170:10b] *** _NSAutoreleaseNoPool(): >>> Object 0x20bcf0 of class NSCFData autoreleased with no pool in place - >>> just >>> leaking >>> Stack: (0x967a8f4f 0x966b5432 0x966c9b25 0x966c9701 0x2ed5 0x28de) >>> Audio decoding >>> [aac @ 0x1802000]channel element 1.0 is not allocated >>> Error while decoding >>> >>> The Debugger has exited with status 1.The Debugger has exited with status >>> 1. >>> Or if anyone want to look in my project then i could give attach here. >>> >>> Does any one have idea about it or having any sample code for it?. >>> >>> Regards, >>> CocoaDev. >>> _______________________________________________ >>> libav-user mailing list >>> [email protected] >>> https://lists.mplayerhq.hu/mailman/listinfo/libav-user >>> >> >> _______________________________________________ >> libav-user mailing list >> [email protected] >> https://lists.mplayerhq.hu/mailman/listinfo/libav-user >> > > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
