]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mpegts_input_open_pid: fix the wrong variable assignment
authorJaroslav Kysela <perex@perex.cz>
Sun, 16 Nov 2014 10:04:09 +0000 (11:04 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 16 Nov 2014 10:04:09 +0000 (11:04 +0100)
src/input/mpegts/mpegts_input.c

index 87c76d7966276394c2efea8982e1de2025c0b0bf..7b95cd1dea44fb6c06c3efda2c72b7842b8299b8 100644 (file)
@@ -349,7 +349,7 @@ mpegts_input_open_pid
                buf, mp->mp_pid, mp->mp_pid, type, owner);
     } else {
       free(mps);
-      mps = NULL;
+      mp = NULL;
     }
   }
   return mp;