projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09d9070
)
small fixes for -T
author
ghost
<andreas.monzner@multimedia-labs.de>
Thu, 7 May 2009 08:24:04 +0000
(10:24 +0200)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Thu, 7 May 2009 08:24:04 +0000
(10:24 +0200)
lib/dvb/frontend.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/frontend.cpp
b/lib/dvb/frontend.cpp
index
a2ccf3b
..
e5e83b4
100644
(file)
--- a/
lib/dvb/frontend.cpp
+++ b/
lib/dvb/frontend.cpp
@@
-379,7
+379,7
@@
RESULT eDVBFrontendParameters::calculateDifference(const iDVBFrontendParameters
terrestrial.code_rate_HP != eDVBFrontendParametersTerrestrial::FEC_Auto)
diff = 1 << 30;
else
- diff = abs(terrestrial.frequency - oterrestrial.frequency);
+ diff = abs(terrestrial.frequency - oterrestrial.frequency)
/ 1000
;
return 0;
default:
return -1;
@@
-403,7
+403,7
@@
RESULT eDVBFrontendParameters::getHash(unsigned long &hash) const
return 0;
case iDVBFrontend::feTerrestrial:
hash = 0xEEEE0000;
- hash |= (terrestrial.frequency/1000)&0xFFFF;
+ hash |= (terrestrial.frequency/1000
000
)&0xFFFF;
return 0;
default:
return -1;