mpegts_input: a tiny optimization
This commit is contained in:
parent
d702125cf4
commit
403e4ca1da
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ mpegts_input_recv_packets
|
|||
mp = malloc(sizeof(mpegts_packet_t) + len2);
|
||||
mp->mp_mux = mmi->mmi_mux;
|
||||
mp->mp_len = len2;
|
||||
memcpy(mp->mp_data, tsb, mp->mp_len);
|
||||
memcpy(mp->mp_data, tsb, len2);
|
||||
|
||||
len -= len2;
|
||||
off += len2;
|
||||
|
|
Loading…
Add table
Reference in a new issue