fix incorrect return value

This commit is contained in:
Andreas Öman 2008-01-08 09:47:35 +00:00
parent 7b504c2d92
commit 98a88a7e63

2
pes.c
View file

@ -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;