mkmux: found another stupid bug in mk_mux_write_pkt
This commit is contained in:
parent
39a4db4994
commit
60574bf3e4
1 changed files with 1 additions and 1 deletions
|
@ -1159,7 +1159,7 @@ mk_mux_write_pkt(mk_mux_t *mkm, th_pkt_t *pkt)
|
|||
break;
|
||||
}
|
||||
|
||||
if(t == NULL) {
|
||||
if(i >= mkm->ntracks) {
|
||||
pkt_ref_dec(pkt);
|
||||
return mkm->error;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue