applemedia: vtdec: fix compiler warning (uninitialized variable)

This commit is contained in:
Alessandro Decina 2013-12-11 18:52:53 +01:00
parent 00392a6d16
commit de60453a33

View 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);