]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
linuxdvb: fix wrong condition in linuxdvb_frontend_close_fd(), fixes #4278
authorJaroslav Kysela <perex@perex.cz>
Thu, 16 Mar 2017 07:44:11 +0000 (08:44 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 16 Mar 2017 07:44:11 +0000 (08:44 +0100)
src/input/mpegts/linuxdvb/linuxdvb_frontend.c

index 6afd832cb04d6803f810414dbeed68b132a35b21..f30ba3f0e579af5404d2601567c2376f469fc3d5 100644 (file)
@@ -417,7 +417,7 @@ linuxdvb_frontend_close_fd ( linuxdvb_frontend_t *lfe, const char *name )
 {
   char buf[256];
 
-  if (lfe->lfe_fe_fd > 0)
+  if (lfe->lfe_fe_fd <= 0)
     return;
 
   if (name == NULL) {