From de60453a3337a1f888c9cad28dcd58e1fee59e8f Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Wed, 11 Dec 2013 18:52:53 +0100 Subject: [PATCH] applemedia: vtdec: fix compiler warning (uninitialized variable) --- sys/applemedia/vtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/applemedia/vtdec.c b/sys/applemedia/vtdec.c index c86d8c0191..19f88256e0 100644 --- a/sys/applemedia/vtdec.c +++ b/sys/applemedia/vtdec.c @@ -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);