vc1: fix use of possibly uninitialized variable.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Mar 2013 12:32:15 +0000 (13:32 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Mar 2013 13:38:06 +0000 (14:38 +0100)
commit2000d5d6e12e9bddaeb4180311ae0d8c18f28c9c
treed95c7f59b7ffcf38fbc0e8e349492d87e6dacbee
parent2c6e235e4df9e8b6c8f36f5a239fe9734507a044
vc1: fix use of possibly uninitialized variable.

In decode_codec_data(), force initialization of format to zero so that
we can catch up cases where codec-data has neither "format" nor "wmvversion"
fields, thus making it possible to gracefully fail in this case.
gst-libs/gst/vaapi/gstvaapidecoder_vc1.c