[Libav-user] Invalid Handle was specified - av_guess_format / avformat_alloc_context

Matthew Einhorn moiein2000 at gmail.com
Thu Sep 22 22:01:02 CEST 2011

On Thu, Sep 22, 2011 at 10:13 AM, Marlon Reid <Marlon at scansoft.co.za> 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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110922/cf93c0f9/attachment.html>

More information about the Libav-user mailing list