realmedia: Fix unitialized variables on macosx
This commit is contained in:
parent
7b97c2de6a
commit
c849e854a8
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user