From 56e2405a3575a2326b496afc9901492c34450175 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Sun, 6 Jan 2013 18:54:52 +0100 Subject: [PATCH] codecparsers: h264: add inferred value for slice_beta_offset_div2. The standard specifies that when slice_beta_offset_div2 is not present in the slice header, then the value of slice_beta_offset_div2 shall be inferred to be equal to 0. https://bugzilla.gnome.org/show_bug.cgi?id=692265 Signed-off-by: Gwenole Beauchesne --- gst-libs/gst/codecparsers/gsth264parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c index ac307c8..d8cebe3 100644 --- a/gst-libs/gst/codecparsers/gsth264parser.c +++ b/gst-libs/gst/codecparsers/gsth264parser.c @@ -1815,6 +1815,7 @@ gst_h264_parser_parse_slice_hdr (GstH264NalParser * nalparser, slice->num_ref_idx_l1_active_minus1 = pps->num_ref_idx_l1_active_minus1; slice->disable_deblocking_filter_idc = 0; slice->slice_alpha_c0_offset_div2 = 0; + slice->slice_beta_offset_div2 = 0; if (sps->separate_colour_plane_flag) READ_UINT8 (&nr, slice->colour_plane_id, 2); -- 2.7.4