[Bug 752052] New: gstappsrc: Initializing min and max in gst_app_src_get_property
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jul 7 01:37:15 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=752052
Bug ID: 752052
Summary: gstappsrc: Initializing min and max in
gst_app_src_get_property
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: gnome-bugs at muelli.cryptobitch.de
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 306981
--> https://bugzilla.gnome.org/attachment.cgi?id=306981&action=edit
patch
gstappsrc: Initializing min and max in gst_app_src_get_property
This gets rid of this compiler message:
gstappsrc.c: In function 'gst_app_src_get_property':
gstappsrc.c:741:7: error: 'max' may be used uninitialized in this
function [-Werror=maybe-uninitialized]
g_value_set_int64 (value, max);
^
gstappsrc.c:733:7: error: 'min' may be used uninitialized in this
function [-Werror=maybe-uninitialized]
g_value_set_int64 (value, min);
^
GCC's analysis is correct. If appsrc is not GST_IS_APP_SRC, then
gst_app_src_get_latency will return without setting min and max.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list