GNOME Bugzilla – Bug 306641
gst-compprep segfaults when mpeg2enc plugin is installed after xvid plugin
Last modified: 2005-06-09 09:56:14 UTC
Steps to reproduce: 1. Use a distro with split-up plugins that have both mpeg2enc and xvid plugin linked dynamic 2. install xvid plugin, install mpeg2enc plugin 3. run gst-compprep, watch it segfault Stack trace: Other information:
Created attachment 47311 [details] [review] Declares xvid struct static After a conversation with Ronald, we found out init is called twice. The 2nd init is returned with false without init, but the declaration of the xvid_gbl_init_t struct in the 2nd run makes it crash. Declaring this struct static fixes the crasher when xvidcore is linked in dynamic
Applied, thanks.