[libav-bugs] [Bug 75] av_opt_find2() segfaults

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Fri Nov 18 18:34:17 CET 2011


http://bugzilla.libav.org/show_bug.cgi?id=75

Ronald S. Bultje <rsbultje at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsbultje at gmail.com

--- Comment #3 from Ronald S. Bultje <rsbultje at gmail.com> 2011-11-18 18:34:17 CET ---
That doesn't work at all, it crashes because ctx->oformat is NULL.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000048
0x0000000100000eb6 in main () at test.c:10
10    if (!(fmt->oformat->flags & AVFMT_NOFILE))
(gdb) print fmt
$1 = (AVFormatContext *) 0x100800000
(gdb) print fmt->oformat
$2 = (struct AVOutputFormat *) 0x0

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list