libv4l2rds: fix date-time handling
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 11 Jul 2014 18:55:35 +0000 (20:55 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Fri, 11 Jul 2014 18:55:35 +0000 (20:55 +0200)
commit387a6bf8f0ac3597b3c0cc7ef6c4b464679d570f
tree5794731fc304ae850bddf2ec716d94ec2488d6dc
parent967001ecb9564e8e1997ecc51c20bf320ba9e194
libv4l2rds: fix date-time handling

The way the offset was handled was wrong: the fact that RDS specifies
the timezone offset in units of 30 minutes clearly was confusing.

Fixed the calculations.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
lib/libv4l2rds/libv4l2rds.c