mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed typo.
This typo doesn't actually cause any side effects unless you are like stqism and have a C library that doesn't have mempcpy().
This commit is contained in:
parent
9684339ab9
commit
7c1b801bd0
|
@ -532,7 +532,7 @@ inline__ int toxav_prepare_video_frame(ToxAv *av, int32_t call_index, uint8_t *d
|
|||
if (pkt->kind == VPX_CODEC_CX_FRAME_PKT) {
|
||||
if ( copied + pkt->data.frame.sz > dest_max ) return ErrorPacketTooLarge;
|
||||
|
||||
mempcpy(dest + copied, pkt->data.frame.buf, pkt->data.frame.sz);
|
||||
memcpy(dest + copied, pkt->data.frame.buf, pkt->data.frame.sz);
|
||||
copied += pkt->data.frame.sz;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user