GNOME Bugzilla – Bug 476128
Printf format fixes
Last modified: 2007-09-12 08:45:17 UTC
Please describe the problem: Here is a patch to fix a couple of compiler warnings in gst-plugins-bad (am I the only one compiling with debug enabled?). I am not 100% sure about the change to gst_deinterleave_process() in gst-plugins-bad/gst/interleave/deinterleave.c (the code is just too messy), but I think the ret variable always gets a value, and that it is just the compiler which cannot detect this (which I can fully understand after having looked at the code) and thereby issues a warning about the ret variable possibly being used uninitialized. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 95410 [details] [review] Fix compiler warnings in gst-plugins-bad
Committed, thanks: 2007-09-12 Tim-Philipp Müller <tim at centricular dot net> Patch by: Peter Kjellerstedt <pkj at axis com> * gst-libs/gst/app/gstappsink.c: * gst/flv/gstflvdemux.c: * gst/flv/gstflvparse.c: * gst/interleave/deinterleave.c: * gst/switch/gstswitch.c: Printf format fixes (#476128). (The reason most of us don't get these warnings is that the compiler doesn't/can't check the printf format if the printf extension is available, because it would warn about the special printf extensions GStreamer registers)