gst-plugins-bad: rtpvp8: Fix unitialized variable
Edward Hervey
bilboed at kemper.freedesktop.org
Fri Mar 4 03:16:19 PST 2011
Module: gst-plugins-bad
Branch: master
Commit: 605352f1185b08a7bdf16939fe33c3d29435e50c
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=605352f1185b08a7bdf16939fe33c3d29435e50c
Author: Edward Hervey <edward.hervey at collabora.co.uk>
Date: Fri Mar 4 11:59:44 2011 +0100
rtpvp8: Fix unitialized variable
Makes macosx compiler happy.
---
gst/rtpvp8/gstrtpvp8pay.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/rtpvp8/gstrtpvp8pay.c b/gst/rtpvp8/gstrtpvp8pay.c
index 0ea5777..b54ec28 100644
--- a/gst/rtpvp8/gstrtpvp8pay.c
+++ b/gst/rtpvp8/gstrtpvp8pay.c
@@ -127,7 +127,7 @@ gst_rtp_vp8_pay_parse_frame (GstRtpVP8Pay * self, GstBuffer * buffer)
gboolean keyframe;
guint32 header_size;
guint8 version;
- guint8 tmp8;
+ guint8 tmp8 = 0;
guint8 *data;
guint8 partitions;
More information about the gstreamer-commits
mailing list