diff options
author | Michael Hunold <devnull@localhost> | 2003-07-22 15:01:37 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-07-22 15:01:37 +0000 |
commit | 9c916044222613660d660115b9719013405706de (patch) | |
tree | a3dac06d115b7c5ab88ac5247648566d024c5ae2 /linux/drivers/media/dvb/ttpci | |
parent | 563f50f11a3ffbf4dfb41b19b6f0508c0ea533dd (diff) | |
download | mediapointer-dvb-s2-9c916044222613660d660115b9719013405706de.tar.gz mediapointer-dvb-s2-9c916044222613660d660115b9719013405706de.tar.bz2 |
- really fix get_stc
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 06465be8d..d06cfa588 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -3273,7 +3273,7 @@ static int dvb_get_stc(struct dmx_demux *demux, unsigned int num, DEB_EE(("av7110: fwstc = %04hx %04hx %04hx %04hx\n", fwstc[0], fwstc[1], fwstc[2], fwstc[3])); - *stc = (((uint64_t)(~fwstc[2]) & 1) << 32) | + *stc = (((uint64_t) ((fwstc[3] & 0x8000) >> 15)) << 32) | (((uint64_t) fwstc[1]) << 16) | ((uint64_t)fwstc[0]); *base = 1; |