h264parser: initialize additional sps field value
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 18 Nov 2011 14:07:01 +0000 (15:07 +0100)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 18 Nov 2011 16:19:57 +0000 (17:19 +0100)
Fixes #663552.

gst-libs/gst/codecparsers/gsth264parser.c

index 6b79a41..1822b14 100644 (file)
@@ -1365,6 +1365,7 @@ gst_h264_parse_sps (GstH264NalUnit * nalu, GstH264SPS * sps,
   sps->frame_crop_right_offset = 0;
   sps->frame_crop_top_offset = 0;
   sps->frame_crop_bottom_offset = 0;
+  sps->delta_pic_order_always_zero_flag = 0;
 
   READ_UINT8 (&nr, sps->profile_idc, 8);
   READ_UINT8 (&nr, sps->constraint_set0_flag, 1);