[gstreamer-bugs] [Bug 629018] New: rtpjpegpay: unable to build because of uninitialized variable warning
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Sep 7 19:39:20 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=629018
GStreamer | gst-plugins-good | git
Summary: rtpjpegpay: unable to build because of uninitialized
variable warning
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: lsinger at caltech.edu
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
I am unable to build gst-plugins-good because there is an uninitialized
variable warning in gst/rtp/gstrtppay.c.
The warning is this:
cc1: warnings being treated as errors
gstrtpjpegpay.c: In function 'gst_rtp_jpeg_pay_handle_buffer':
gstrtpjpegpay.c:369: warning: 'sof_size' may be used uninitialized in this
function
Looking at the code, it is possible for sof_size to be uninitialized if the
'goto' statement on line 378 is followed. Here is a link to cgit showing that
line:
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/gstrtpjpegpay.c#n378
Unfortunately I don't know enough about jpeg to provide a patch.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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