Commit b4def63f authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

audio: don't use uninitialized variable in debug log

https://bugzilla.gnome.org/show_bug.cgi?id=667317
parent a3c6d0da
......@@ -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;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment