picons: fix filaname calculation for West positions, fixes #2685
This commit is contained in:
parent
051412d7e0
commit
1bd1564a8c
1 changed files with 2 additions and 1 deletions
|
@ -451,7 +451,8 @@ mpegts_service_channel_icon ( service_t *s )
|
|||
case DVB_TYPE_S:
|
||||
if ((pos = dvb_network_get_orbital_pos(mmd->mm_network)) == INT_MAX)
|
||||
return NULL;
|
||||
hash = (pos >= 0 ? pos : 0xFFFF - abs(pos)) << 16;
|
||||
assert(pos >= -1800 && pos <= 1800);
|
||||
hash = (pos >= 0 ? pos : 3600 + pos) << 16;
|
||||
break;
|
||||
case DVB_TYPE_C:
|
||||
hash = 0xFFFF0000;
|
||||
|
|
Loading…
Add table
Reference in a new issue