From: Jaroslav Kysela Date: Sat, 16 Aug 2014 07:07:37 +0000 (+0200) Subject: linuxdvb: one more en50494 creation fix X-Git-Tag: v4.1~1541 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=98f197ce6ca77dd70eceea8ad2628252a1680efc;p=thirdparty%2Ftvheadend.git linuxdvb: one more en50494 creation fix --- diff --git a/src/input/mpegts/linuxdvb/linuxdvb_en50494.c b/src/input/mpegts/linuxdvb/linuxdvb_en50494.c index 95ba3a295..4b1219d76 100644 --- a/src/input/mpegts/linuxdvb/linuxdvb_en50494.c +++ b/src/input/mpegts/linuxdvb/linuxdvb_en50494.c @@ -269,6 +269,9 @@ linuxdvb_en50494_create0 linuxdvb_diseqc_t *ld; linuxdvb_en50494_t *le; + if (strcmp(name ?: "", "Generic")) + return NULL; + if (port > 1) { tvherror("en50494", "only 2 ports/positions are posible. given %i", port); port = 0;