mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 13:36:39 +00:00
hdvparse: Fix field error.
Spotted by Burkhard Plaum
This commit is contained in:
parent
01289f0ffe
commit
31d3ec392f
1 changed files with 3 additions and 3 deletions
|
@ -549,9 +549,9 @@ parse_video_frame (GstHDVParse * filter, guint8 * data, guint64 size,
|
||||||
* 37 | Tens of Years |Units of Years |
|
* 37 | Tens of Years |Units of Years |
|
||||||
* ---------------------------------
|
* ---------------------------------
|
||||||
*/
|
*/
|
||||||
ds = data[32] >> 7;
|
ds = data[34] >> 7;
|
||||||
tm = (data[32] >> 6) & 0x1;
|
tm = (data[34] >> 6) & 0x1;
|
||||||
tz = BCD (data[32] & 0x3f);
|
tz = BCD (data[34] & 0x3f);
|
||||||
day = BCD (data[35] & 0x3f);
|
day = BCD (data[35] & 0x3f);
|
||||||
dow = data[36] >> 5;
|
dow = data[36] >> 5;
|
||||||
month = BCD (data[36] & 0x1f);
|
month = BCD (data[36] & 0x1f);
|
||||||
|
|
Loading…
Reference in a new issue