gst-plugins-bad: codecparsers: h264: fix parsing of VUI parameters.

Vincent Penquerc'h vincent at kemper.freedesktop.org
Mon Jan 30 07:21:39 PST 2012


Module: gst-plugins-bad
Branch: master
Commit: 4964db6a1cdf6f391943a2d69856b904ef001c29
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=4964db6a1cdf6f391943a2d69856b904ef001c29

Author: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
Date:   Wed Jan 25 13:57:57 2012 +0100

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 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c
index b969650..2f18ffd 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);
   }



More information about the gstreamer-commits mailing list