diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 21:38:13 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 21:38:13 +0000 |
commit | cdf2a3326fe3b6a39d1b353fd59ca9a21bd73899 (patch) | |
tree | c278266430e78d44cc3e2d336a56af1e8638b07a | |
parent | 269b9847ab4022568a86e54e76bdc1f7dcb1b2a0 (diff) | |
download | ffmpeg-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.c | 2 |
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; |