vdpau: Initialize some variables to make gcc 4.6 happy

This commit is contained in:
Sebastian Dröge 2011-01-27 17:32:49 +01:00
parent 44da64d86b
commit 36e037be67
2 changed files with 4 additions and 2 deletions

View file

@ -248,6 +248,9 @@ gst_vdp_vpp_get_required_pictures (GstVdpVideoPostProcess * vpp)
case GST_VDP_DEINTERLACE_METHOD_TEMPORAL_SPATIAL: case GST_VDP_DEINTERLACE_METHOD_TEMPORAL_SPATIAL:
ret = 2; ret = 2;
break; break;
default:
g_assert_not_reached ();
break;
} }
return ret; return ret;

View file

@ -168,8 +168,7 @@ gst_vdp_h264_dec_calculate_poc (GstVdpH264Dec * h264_dec, GstH264Slice * slice)
{ {
GstH264Picture *pic; GstH264Picture *pic;
GstH264Sequence *seq; GstH264Sequence *seq;
guint poc = 0;
guint poc;
pic = slice->picture; pic = slice->picture;
seq = pic->sequence; seq = pic->sequence;