applemedia: vtdec: fix compiler warning (uninitialized variable)
authorAlessandro Decina <alessandro.d@gmail.com>
Wed, 11 Dec 2013 17:52:53 +0000 (18:52 +0100)
committerAlessandro Decina <alessandro.d@gmail.com>
Wed, 11 Dec 2013 17:52:53 +0000 (18:52 +0100)
sys/applemedia/vtdec.c

index c86d8c0..19f8825 100644 (file)
@@ -179,7 +179,7 @@ static gboolean
 gst_vtdec_set_format (GstVideoDecoder * decoder, GstVideoCodecState * state)
 {
   GstStructure *structure;
-  CMVideoCodecType cm_format;
+  CMVideoCodecType cm_format = 0;
   CMFormatDescriptionRef format_description = NULL;
   const char *caps_name;
   GstVtdec *vtdec = GST_VTDEC (decoder);