mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Use struct copy instead of memcpy().
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -81,7 +81,7 @@ static int interface_hash_cb(const void *obj, const int flags)
|
||||
|
||||
void ast_format_copy(struct ast_format *dst, const struct ast_format *src)
|
||||
{
|
||||
memcpy(dst, src, sizeof(struct ast_format));
|
||||
*dst = *src;
|
||||
}
|
||||
|
||||
void ast_format_set_video_mark(struct ast_format *format)
|
||||
|
Reference in New Issue
Block a user