summaryrefslogtreecommitdiff
path: root/gst/hdvparse
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-02-15 09:36:05 +0100
committerEdward Hervey <bilboed@bilboed.com>2010-02-15 09:36:35 +0100
commit31d3ec392fe899ab9fc764ef6359c43812bd0ee9 (patch)
tree060bae7b6545783fef31c601a92ecf8a18003244 /gst/hdvparse
parent01289f0ffeee648c436ec141a094b51a483dbf1d (diff)
downloadgstreamer-plugins-bad-31d3ec392fe899ab9fc764ef6359c43812bd0ee9.tar.gz
hdvparse: Fix field error.
Spotted by Burkhard Plaum
Diffstat (limited to 'gst/hdvparse')
-rw-r--r--gst/hdvparse/gsthdvparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/hdvparse/gsthdvparse.c b/gst/hdvparse/gsthdvparse.c
index 8114f3b83..03b77747d 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);