After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 580786 - [flvmux] "uninitialized variable" compiler warning
[flvmux] "uninitialized variable" compiler warning
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: 0.10.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-29 17:49 UTC by Tristan Matthews
Modified: 2009-04-29 17:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
patch to gstflvmux.c (359 bytes, patch)
2009-04-29 17:49 UTC, Tristan Matthews
committed Details | Review

Description Tristan Matthews 2009-04-29 17:49:00 UTC
Please describe the problem:
Building gst-plugins-bad fails (on warning):
gstflvmux.c:634: warning: ‘video_pad’ may be used uninitialized in this function

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Tristan Matthews 2009-04-29 17:49:50 UTC
Created attachment 133587 [details] [review]
patch to gstflvmux.c

initializes the var GstPad *video_pad to NULL
Comment 2 Tim-Philipp Müller 2009-04-29 17:55:13 UTC
commit 62db462298d2c4332a53e52648c7925ce6843332
Author: Tristan Matthews <le.businessman@gmail.com>
Date:   Wed Apr 29 18:52:20 2009 +0100

    flvmux: init variable to NULL to fix compiler warning
    
    Fixes #580786.