]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
fix incorrect return value
authorAndreas Öman <andreas@lonelycoder.com>
Tue, 8 Jan 2008 09:47:35 +0000 (09:47 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Tue, 8 Jan 2008 09:47:35 +0000 (09:47 +0000)
pes.c

diff --git a/pes.c b/pes.c
index fdee1f4c05149732470d6a10591f541362aae1d1..33df2fdb3f3faea4b528a2dc267c4196f7b58620 100644 (file)
--- a/pes.c
+++ b/pes.c
@@ -85,7 +85,7 @@ pes_packet_input(th_transport_t *t, th_stream_t *st, uint8_t *buf, size_t len)
   avgstat_add(&st->st_rate, len, dispatch_clock);
 
   if(LIST_FIRST(&t->tht_muxers) == NULL)
-    return 0; /* No muxers will take packet, so drop here*/
+    return -1; /* No muxers will take packet, so drop here */
 
   if(len < 3)
     return -1;