Hi Matt, Thanks for your response. Yes I did call av_register_all();. I also used my C extern braces around <avcodec.h> and <avformat.h>. What does avcodec_register_all() do? Should this be called as well? Your assistance is appreciated.
________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Matthew Einhorn Sent: 22 September 2011 10:01 PM To: This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfilter. Subject: Re: [Libav-user] Invalid Handle was specified - av_guess_format /avformat_alloc_context On Thu, Sep 22, 2011 at 10:13 AM, Marlon Reid <[email protected]> wrote: Hi, I am experiencing problems with using av_guess_format / avformat_alloc_context. In my sample code below, my application crashes on "m_Outfmt = av_guess_format ( "mp3", NULL, NULL);" with the message "Unhandled exception at 0x773b2865 in test.exe: 0xC0000008: An invalid handle was specified." . Have you called av register all before doing anything? Did you put the include files declaration in extern C braces? Matt
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
