[MPlayer-dev-eng] [PATCH] cfg-common.h segmentation fault in MinGW

Bryan Alton balton at eircom.net
Mon May 29 22:23:07 CEST 2006


This patch adds the missing NULL last entry to msgl_config.

After the addition of the "identify" msg-level to msgl_config in April, my
build of mplayer under msys/mingw crashes with a segmentation fault when
mplayer is run even with no parameters.  

The array msgl_config has no NULL last entry - in a WIN32 build there are
strings variables priority_preset_defs following msgl_config and 
initialisation loops fall through into these strings and seg faults.

Since CVS is not running the patch file is a diff between CVS snapshot and
patched file.
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfg-common.h.diff
Type: text/x-diff
Size: 337 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060529/ebcb92b6/attachment.diff>


More information about the MPlayer-dev-eng mailing list