mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
realmedia: Fix unitialized variables on macosx
This commit is contained in:
parent
7b97c2de6a
commit
c849e854a8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue