GNOME Bugzilla – Bug 582218
Uninitialized variable may be used in gstavidemux.c
Last modified: 2009-05-11 19:03:16 UTC
Please describe the problem: Build fails on warning: Making all in avi CC gstavidemux.o CC gstavisubtitle.o cc1: warnings being treated as errors gstavidemux.c: In function ‘gst_avi_demux_handle_src_event’: gstavidemux.c:354: warning: ‘n’ may be used uninitialized in this function gstavidemux.c:354: note: ‘n’ was declared here make[3]: *** [libgstavi_la-gstavidemux.lo] Error 1 Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 134430 [details] [review] initializes var "n" to 0 in gst_avi_demux_handle_src_event in file gstavidemux.c
commit 39da7e523d9a5bc094edda7c32f0918800f4a5a5 Author: Tristan Matthews <le.businessman at gmail.com> Date: Mon May 11 21:02:27 2009 +0200 avidemux: initialize variable to 0 Fixes #582218.