mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
gst/gstutils.h: Initialize g_once_init* data with 0. Fixes bug #567225.
Original commit message from CVS: * gst/gstutils.h: Initialize g_once_init* data with 0. Fixes bug #567225.
This commit is contained in:
parent
9d000cbd21
commit
18eb11db60
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-01-11 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst/gstutils.h:
|
||||
Initialize g_once_init* data with 0. Fixes bug #567225.
|
||||
|
||||
2009-01-09 Jan Schmidt <jan.schmidt@sun.com>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -144,7 +144,7 @@ type_as_function ## _get_type (void) \
|
|||
/* The typedef for GType may be gulong or gsize, depending on the \
|
||||
* system and whether the compiler is c++ or not. The g_once_init_* \
|
||||
* functions always take a gsize * though ... */ \
|
||||
static volatile gsize gonce_data; \
|
||||
static volatile gsize gonce_data = 0; \
|
||||
if (__gst_once_init_enter (&gonce_data)) { \
|
||||
GType _type; \
|
||||
_type = gst_type_register_static_full (parent_type_macro, \
|
||||
|
|
Loading…
Reference in a new issue