summaryrefslogtreecommitdiff
path: root/multimedia/vdr/files/patch-dvbdevice.c
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2012-04-21 14:10:58 +0000
committerJuergen Lock <nox@FreeBSD.org>2012-04-21 14:10:58 +0000
commit21694da2c566eaa9c10c6ef28211ff5dcc64fc0b (patch)
treeaddbbf4b5bdb1599aaa2de3e5468c3e5086cf6ac /multimedia/vdr/files/patch-dvbdevice.c
parent- Unbreak. (diff)
- Update multimedia/vdr and multimedia/vdr-plugins to 1.7.27 .
- Update multimedia/vdr-plugin-epgsearch to 1.0.1s20120322 git snapshot. - Update multimedia/vdr-plugin-femon to 1.7.15 . - Update multimedia/vdr-plugin-iptv to 0.5.0 . - Update multimedia/vdr-plugin-osdteletext to 0.9.2 . - Update multimedia/vdr-plugin-streamdev to 0.5.1p20120311 git snapthot. - Update multimedia/vdr-plugin-xineliboutput to 1.0.90s20111129.1002 cvs snapshot. - Bump PORTREVISION for all other plugins and add vdr 1.7.27 compatibility/bugfix patches where necessary.
Diffstat (limited to 'multimedia/vdr/files/patch-dvbdevice.c')
-rw-r--r--multimedia/vdr/files/patch-dvbdevice.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/multimedia/vdr/files/patch-dvbdevice.c b/multimedia/vdr/files/patch-dvbdevice.c
index 964571ac9d0f..dfc493d52efd 100644
--- a/multimedia/vdr/files/patch-dvbdevice.c
+++ b/multimedia/vdr/files/patch-dvbdevice.c
@@ -8,20 +8,3 @@
#include "dvbdevice.h"
#include <ctype.h>
#include <errno.h>
-@@ -800,10 +801,13 @@ bool cDvbDevice::Initialize(void)
- NextCardIndex(1); // skips this one
- }
- }
-- else if (Frontend == 0)
-- goto LastAdapter;
-- else
-+ else {
-+ if (Checked >= MAXDVBDEVICES || Adapter >= MAXDVBDEVICES)
-+ goto LastAdapter;
-+ if (Frontend == 0)
-+ NextCardIndex(1); // skips this one
- goto NextAdapter;
-+ }
- }
- NextAdapter: ;
- }