fix incorrect return value
This commit is contained in:
parent
7b504c2d92
commit
98a88a7e63
1 changed files with 1 additions and 1 deletions
2
pes.c
2
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue