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:
irungentoo 2014-06-01 18:33:10 -04:00
parent 9684339ab9
commit 7c1b801bd0
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

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