From 4964db6a1cdf6f391943a2d69856b904ef001c29 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Wed, 25 Jan 2012 13:57:57 +0100 Subject: [PATCH] codecparsers: h264: fix parsing of VUI parameters. max_dec_frame_buffering was mis-parsed because log2_max_mv_length_vertical was parsed twice. https://bugzilla.gnome.org/show_bug.cgi?id=668660 --- gst-libs/gst/codecparsers/gsth264parser.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c index b969650919..2f18ffd383 100644 --- a/gst-libs/gst/codecparsers/gsth264parser.c +++ b/gst-libs/gst/codecparsers/gsth264parser.c @@ -623,7 +623,6 @@ gst_h264_parse_vui_parameters (GstH264SPS * sps, NalReader * nr) READ_UE_ALLOWED (nr, vui->max_bits_per_mb_denom, 0, 16); READ_UE_ALLOWED (nr, vui->log2_max_mv_length_horizontal, 0, 16); READ_UE_ALLOWED (nr, vui->log2_max_mv_length_vertical, 0, 16); - READ_UE_ALLOWED (nr, vui->log2_max_mv_length_vertical, 0, 16); READ_UE (nr, vui->num_reorder_frames); READ_UE (nr, vui->max_dec_frame_buffering); }