diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-01-27 17:32:49 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-01-27 17:32:49 +0100 |
commit | 36e037be6786eae66ab7f6520e23a3e57ed3640e (patch) | |
tree | fcfe839d0c068147a4aab32b218b326cfda2f013 | |
parent | 44da64d86bb3da531bf9ebc32037af34635fa364 (diff) |
vdpau: Initialize some variables to make gcc 4.6 happy
-rw-r--r-- | sys/vdpau/gstvdpvideopostprocess.c | 3 | ||||
-rw-r--r-- | sys/vdpau/h264/gstvdph264dec.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/vdpau/gstvdpvideopostprocess.c b/sys/vdpau/gstvdpvideopostprocess.c index 1091c0e8c..0b6f33870 100644 --- a/sys/vdpau/gstvdpvideopostprocess.c +++ b/sys/vdpau/gstvdpvideopostprocess.c @@ -248,6 +248,9 @@ gst_vdp_vpp_get_required_pictures (GstVdpVideoPostProcess * vpp) case GST_VDP_DEINTERLACE_METHOD_TEMPORAL_SPATIAL: ret = 2; break; + default: + g_assert_not_reached (); + break; } return ret; diff --git a/sys/vdpau/h264/gstvdph264dec.c b/sys/vdpau/h264/gstvdph264dec.c index 2a237b150..4abc00961 100644 --- a/sys/vdpau/h264/gstvdph264dec.c +++ b/sys/vdpau/h264/gstvdph264dec.c @@ -168,8 +168,7 @@ gst_vdp_h264_dec_calculate_poc (GstVdpH264Dec * h264_dec, GstH264Slice * slice) { GstH264Picture *pic; GstH264Sequence *seq; - - guint poc; + guint poc = 0; pic = slice->picture; seq = pic->sequence; |