[Bug 644845] New: Comparison of unsigned int < 0 always false in gstalsamixer.c
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Mar 15 10:36:12 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=644845
GStreamer | gst-plugins-base | 0.10.32
Summary: Comparison of unsigned int < 0 always false in
gstalsamixer.c
Classification: Desktop
Product: GStreamer
Version: 0.10.32
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: blaise at suitabletech.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME target: ---
GNOME version: ---
rnfds is a guint, so in the following code from gstalsamixer.c, the error
condition will never get triggered.
{{{
rnfds = snd_mixer_poll_descriptors (mixer->handle, pfds, nfds);
g_assert (rnfds <= nfds);
if (rnfds < 0) {
GST_ELEMENT_ERROR (mixer, RESOURCE, READ, (NULL), ("alsa error: %s",
snd_strerror (rnfds)));
}}}
--
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