From 31d3ec392fe899ab9fc764ef6359c43812bd0ee9 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 15 Feb 2010 09:36:05 +0100 Subject: [PATCH] hdvparse: Fix field error. Spotted by Burkhard Plaum --- gst/hdvparse/gsthdvparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/hdvparse/gsthdvparse.c b/gst/hdvparse/gsthdvparse.c index 8114f3b831..03b77747de 100644 --- a/gst/hdvparse/gsthdvparse.c +++ b/gst/hdvparse/gsthdvparse.c @@ -549,9 +549,9 @@ parse_video_frame (GstHDVParse * filter, guint8 * data, guint64 size, * 37 | Tens of Years |Units of Years | * --------------------------------- */ - ds = data[32] >> 7; - tm = (data[32] >> 6) & 0x1; - tz = BCD (data[32] & 0x3f); + ds = data[34] >> 7; + tm = (data[34] >> 6) & 0x1; + tz = BCD (data[34] & 0x3f); day = BCD (data[35] & 0x3f); dow = data[36] >> 5; month = BCD (data[36] & 0x1f);