gst/: Aplied part of patch #157127: Cleanup of issues reported by sparse.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 2 Nov 2004 15:02:12 +0000 (15:02 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 2 Nov 2004 15:02:12 +0000 (15:02 +0000)
commit6d42edd5503bef28b154a0458e13540d8747a60a
tree4f22048738be080e8db7ebefc504ded23092d072
parent6a110e062f00fc670fac1bfc97da3482a543e626
gst/: Aplied part of patch #157127: Cleanup of issues reported by sparse.

Original commit message from CVS:
reviewed by: Wim Taymans, Ronald Bultje.

* gst/cothreads.c: (cothread_create):
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_child_state_change_func):
* gst/gstbuffer.c: (gst_buffer_span):
* gst/gstelement.c: (gst_element_get_index),
(gst_element_get_event_masks), (gst_element_get_query_types),
(gst_element_get_formats):
* gst/gsterror.c: (_gst_core_errors_init),
(_gst_library_errors_init), (_gst_resource_errors_init),
(_gst_stream_errors_init):
* gst/gstobject.c: (gst_object_default_deep_notify):
* gst/gstpad.c: (gst_pad_get_event_masks),
(gst_pad_get_internal_links_default):
* gst/gstplugin.c: (gst_plugin_register_func),
(gst_plugin_get_module):
* gst/gststructure.c: (gst_structure_get_string),
(gst_structure_get_abbrs), (gst_structure_from_abbr),
(gst_structure_to_abbr):
* gst/gstutils.c: (gst_print_element_args):
* gst/schedulers/gstoptimalscheduler.c: (add_to_group),
(setup_group_scheduler), (gst_opt_scheduler_iterate):
Aplied part of patch #157127: Cleanup of issues reported by
sparse.
Also do not try to use cothreads when there is no cothread
context yet.
12 files changed:
ChangeLog
gst/cothreads.c
gst/gstbin.c
gst/gstbuffer.c
gst/gstelement.c
gst/gsterror.c
gst/gstobject.c
gst/gstpad.c
gst/gstplugin.c
gst/gststructure.c
gst/gstutils.c
gst/schedulers/gstoptimalscheduler.c