rtpvp8: Fix unitialized variable
authorEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 4 Mar 2011 10:59:44 +0000 (11:59 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 1 Nov 2012 20:53:47 +0000 (20:53 +0000)
Makes macosx compiler happy.

gst/rtp/gstrtpvp8pay.c

index 0ea5777..b54ec28 100644 (file)
@@ -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;