diff options
author | Holger Waechtler <devnull@localhost> | 2003-01-17 14:07:06 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-01-17 14:07:06 +0000 |
commit | 2f28f60479940143524a333917f6ef4e6bacbcb8 (patch) | |
tree | eb952ef1d5a28d497a9e2e477a309e2f5daf147a /linux/drivers/media | |
parent | 8224400559ef50b53e11400aa0853cb6769bdf6b (diff) | |
download | mediapointer-dvb-s2-2f28f60479940143524a333917f6ef4e6bacbcb8.tar.gz mediapointer-dvb-s2-2f28f60479940143524a333917f6ef4e6bacbcb8.tar.bz2 |
apply fix by <emard@softhome.net> in order to set demux_id correctly
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/ttpci-budget/budget-core.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget-core.c b/linux/drivers/media/dvb/ttpci-budget/budget-core.c index e657885da..14ddd5db2 100644 --- a/linux/drivers/media/dvb/ttpci-budget/budget-core.c +++ b/linux/drivers/media/dvb/ttpci-budget/budget-core.c @@ -313,8 +313,8 @@ int budget_register(struct budget_s *budget) dvb_add_frontend_ioctls (budget->dvb_adapter, budget_diseqc_ioctl, NULL, budget); memcpy(budget->demux_id, "demux0_0", 9); - budget->demux_id[7]=budget->dvb_adapter->num+0x30; - dvbdemux->priv=(void *) budget; + budget->demux_id[5] = budget->dvb_adapter->num + '0'; + dvbdemux->priv = (void *) budget; dvbdemux->filternum=256; dvbdemux->feednum=256; diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 45a60101d..9a2289d41 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -3987,8 +3987,8 @@ int av7110_register(av7110_t *av7110) av7110->display_ar=VIDEO_FORMAT_4_3; memcpy(av7110->demux_id, "demux0_0", 9); - av7110->demux_id[7]=av7110->dvb_adapter->num+0x30; - dvbdemux->priv=(void *) av7110; + av7110->demux_id[5] = av7110->dvb_adapter->num + '0'; + dvbdemux->priv = (void *) av7110; // if (av7110->card_type->type==DVB_CARD_TT_SIEMENS) { for (i=0; i<32; i++) |