realmedia: Fix unitialized variables on macosx

This commit is contained in:
Edward Hervey 2011-01-05 16:52:03 +01:00
parent 7b97c2de6a
commit c849e854a8

View file

@ -145,7 +145,7 @@ gst_rm_utils_descramble_dnet_buffer (GstBuffer * buf)
static void static void
gst_rm_utils_swap_nibbles (guint8 * data, gint idx1, gint idx2, gint len) gst_rm_utils_swap_nibbles (guint8 * data, gint idx1, gint idx2, gint len)
{ {
guint8 *d1, *d2, tmp1, tmp2, tmp1n, tmp2n; guint8 *d1, *d2, tmp1 = 0, tmp2, tmp1n, tmp2n;
if ((idx2 & 1) && !(idx1 & 1)) { if ((idx2 & 1) && !(idx1 & 1)) {
/* align destination to a byte by swapping the indexes */ /* align destination to a byte by swapping the indexes */