[Bug 778782] libs: decoder: h264,h265 avoid uninitialized variable

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 16 17:46:35 UTC 2017


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

--- Comment #1 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 345981
  --> https://bugzilla.gnome.org/attachment.cgi?id=345981&action=edit
libs: decoder: h264,h265 avoid uninitialized variable

Configuring GCC to verify possible usage of uninitialized variables,
shows that found_index might be used without previous assignation.

This patch assigns a initial value to found_index, also avoid a
branching when returning the result value.

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