aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-02-15 21:38:13 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-02-15 21:38:13 +0000
commitcdf2a3326fe3b6a39d1b353fd59ca9a21bd73899 (patch)
treec278266430e78d44cc3e2d336a56af1e8638b07a
parent269b9847ab4022568a86e54e76bdc1f7dcb1b2a0 (diff)
downloadffmpeg-cdf2a3326fe3b6a39d1b353fd59ca9a21bd73899.tar.gz
replace memcpy with assignment
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
-rw-r--r--libavfilter/avfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index f6695997cb..8419887480 100644
--- 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;