[Bug 751985] rtph261pay: Fix uninitialized variable compiler error

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Jul 5 10:11:58 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=751985

--- Comment #2 from Stian Selnes (stianse) <stian.selnes at gmail.com> ---
Created attachment 306863
  --> https://bugzilla.gnome.org/attachment.cgi?id=306863&action=edit
Patch to fix compiler warning

The previously proposed patch also removes a useful debug message. This patch
should fix the warning while keeping the debug message.

This seems to be an issue with GCC not correctly understanding that the
particular branch cannot be entered on the first iteration of the loop (because
of the 'count' variable). Although I don't get the same warning with GCC 4.8.4
the provided patch should fix the issue.

@Jimmy: This code was recently added so the warning you get is not due to
changed compiler flags.

-- 
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