From: Edward Hervey Date: Wed, 5 Jan 2011 15:52:03 +0000 (+0100) Subject: realmedia: Fix unitialized variables on macosx X-Git-Tag: RELEASE-0.10.17~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c849e854a8a55559d01d4afd34610f4914da5529;p=platform%2Fupstream%2Fgst-plugins-ugly.git realmedia: Fix unitialized variables on macosx --- diff --git a/gst/realmedia/rmutils.c b/gst/realmedia/rmutils.c index ef752c69..6ae68786 100644 --- a/gst/realmedia/rmutils.c +++ b/gst/realmedia/rmutils.c @@ -145,7 +145,7 @@ gst_rm_utils_descramble_dnet_buffer (GstBuffer * buf) static void 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)) { /* align destination to a byte by swapping the indexes */