projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3c6d0d
)
audio: don't use uninitialized variable in debug log
author
Tim-Philipp Müller
<tim@centricular.net>
Sat, 29 Dec 2012 14:29:53 +0000
(14:29 +0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sat, 29 Dec 2012 14:29:53 +0000
(14:29 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=667317
gst-libs/gst/audio/audio-info.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/audio/audio-info.c
b/gst-libs/gst/audio/audio-info.c
index
3ab11bf
..
646ed5d
100644
(file)
--- a/
gst-libs/gst/audio/audio-info.c
+++ b/
gst-libs/gst/audio/audio-info.c
@@
-454,7
+454,8
@@
gst_audio_info_convert (const GstAudioInfo * info,
break;
}
done:
- GST_DEBUG ("ret=%d result %" G_GINT64_FORMAT, res, *dest_val);
+
+ GST_DEBUG ("ret=%d result %" G_GINT64_FORMAT, res, res ? *dest_val : -1);
return res;
}