Commit d2af2713 authored by vitor's avatar vitor

replace memcpy with assignment

Commited in SoC by Bobby Bingham on 2007-08-17 23:04:33


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12011 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 62fc7824
......@@ -38,7 +38,7 @@ static AVFilter **filters = NULL;
AVFilterPicRef *avfilter_ref_pic(AVFilterPicRef *ref, int pmask)
{
AVFilterPicRef *ret = av_malloc(sizeof(AVFilterPicRef));
memcpy(ret, ref, sizeof(AVFilterPicRef));
*ret = *ref;
ret->perms &= pmask;
ret->pic->refcount ++;
return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment