applemedia: vtdec: fix uninitialized variable warning

This commit is contained in:
Alessandro Decina 2015-11-17 11:22:15 +11:00
parent 1491d02c4e
commit 8a171754e5

View file

@ -444,7 +444,7 @@ gst_vtdec_create_session (GstVtdec * vtdec, GstVideoFormat format)
VTDecompressionOutputCallbackRecord callback;
CFMutableDictionaryRef videoDecoderSpecification;
OSStatus status;
guint32 cv_format;
guint32 cv_format = 0;
switch (format) {
case GST_VIDEO_FORMAT_NV12: