h264parser: initialize additional sps field value

Fixes #663552.
This commit is contained in:
Mark Nauwelaerts 2011-11-18 15:07:01 +01:00
parent ee91057526
commit eba9bb5e5a

View 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);