diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-04-15 21:38:54 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-04-15 21:38:54 +0200 |
commit | aabe73387ae8f8ee2aee87496e54136e20e3f7dd (patch) | |
tree | 000bfa427497c7dbda61e8f9ff82ceda690d6af5 | |
parent | 0d79ca29f7ca4ee3ecbbd0963deb3a6bac176de8 (diff) |
vdpau: Initialize possibly uninitialized variable
-rw-r--r-- | sys/vdpau/gstvdpvideopostprocess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vdpau/gstvdpvideopostprocess.c b/sys/vdpau/gstvdpvideopostprocess.c index b2cace484..9f762ca96 100644 --- a/sys/vdpau/gstvdpvideopostprocess.c +++ b/sys/vdpau/gstvdpvideopostprocess.c @@ -175,7 +175,7 @@ static VdpVideoMixerFeature gst_vdp_feature_from_deinterlace_method (GstVdpDeinterlaceMethods method) { gint i; - VdpVideoMixerFeature feature; + VdpVideoMixerFeature feature = 0; typedef struct { @@ -183,7 +183,7 @@ gst_vdp_feature_from_deinterlace_method (GstVdpDeinterlaceMethods method) VdpVideoMixerFeature feature; } VdpDeinterlaceMethod; - VdpDeinterlaceMethod deinterlace_methods[2] = { + static const VdpDeinterlaceMethod deinterlace_methods[] = { {GST_VDP_DEINTERLACE_METHOD_TEMPORAL, VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL}, {GST_VDP_DEINTERLACE_METHOD_TEMPORAL_SPATIAL, |