diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2010-06-24 22:14:38 +0200 |
---|---|---|
committer | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2010-06-24 22:14:38 +0200 |
commit | 5fbbbaccc3b8a833774d42b95f39fa9747b779ca (patch) | |
tree | 2b32774aaed98bad2ff6532402e4ccf4a9bf4165 /sys/vdpau | |
parent | 731d160e6d21d75e07c6ad52149cc52bf91164c6 (diff) |
vdpauh264dec: fix unitialized variable
Diffstat (limited to 'sys/vdpau')
-rw-r--r-- | sys/vdpau/h264/gstvdph264dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vdpau/h264/gstvdph264dec.c b/sys/vdpau/h264/gstvdph264dec.c index afb09d5a3..82274963d 100644 --- a/sys/vdpau/h264/gstvdph264dec.c +++ b/sys/vdpau/h264/gstvdph264dec.c @@ -641,7 +641,7 @@ gst_vdp_h264_dec_scan_for_packet_end (GstBaseVideoDecoder * base_video_decoder, if (h264_dec->packetized) { guint8 *data; gint i; - guint32 nal_length; + guint32 nal_length = 0; data = g_slice_alloc (h264_dec->nal_length_size); gst_adapter_copy (adapter, data, 0, h264_dec->nal_length_size); |