OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269b984
)
replace memcpy with assignment
author
Vitor Sessak
<vitor1001@gmail.com>
Fri, 15 Feb 2008 21:38:13 +0000
(21:38 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Fri, 15 Feb 2008 21:38:13 +0000
(21:38 +0000)
Commited in SoC by Bobby Bingham on 2007-08-17 23:04:33
Originally committed as revision 12011 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavfilter/avfilter.c
patch
|
blob
|
history
diff --git
a/libavfilter/avfilter.c
b/libavfilter/avfilter.c
index
f669599
..
8419887
100644
(file)
--- a/
libavfilter/avfilter.c
+++ b/
libavfilter/avfilter.c
@@
-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;