[MPlayer-dev-eng] [PATCH] Null pointer reference in ad_liba52.c:62

Ryan Steele rgsteele at gmail.com
Mon May 26 03:45:50 CEST 2008


This patch has also been submitted to Bugzilla:
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1089

I'm running the latest svn on x86_64 Hardy Heron. When attempting to
play an HD-DVD rip, mplayer crashes with a segmentation fault at
libmpcodecs/ad_liba52.c:62.

62              int c=demux_getc(sh_audio->ds);

(gdb) print sh_audio->ds
$4 = (demux_stream_t *) 0x0

See the Bugzilla bug for the complete backtrace. sh_audio->ds isn't
getting initialized before the first call to reinit_audio_chain() in
mplayer.c.

--
Ryan Steele - rgsteele at gmail.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer patch.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080525/e5cd23db/attachment.txt>


More information about the MPlayer-dev-eng mailing list