GNOME Bugzilla – Bug 667317
audioringbuffer: Initialize dest_val to 0 in gst_ring_buffer_convert().
Last modified: 2012-12-29 18:56:19 UTC
Created attachment 204635 [details] [review] patch .
*dest_val already seems to be always initialized when TRUE is returned in current git.
So again it would be nice to understand the motivation behind this proposed change. It's fine of course, but why is it needed?
Håvard, ping, can you please respond to comment#2 ?
It's a compiler warning fix. It is initialized whenever TRUE is returned. It's not initialized whenever goto done is called (as far as the compiler can tell).
I think this should take care of it in gst_audio_info_convert(), which gst_audio_ring_buffer_convert() now uses: commit b4def63f550c8780900d86b8524a7022deacbd14 Author: Tim-Philipp Müller <tim@centricular.net> Date: Sat Dec 29 14:29:53 2012 +0000 audio: don't use uninitialized variable in debug log https://bugzilla.gnome.org/show_bug.cgi?id=667317