aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-10-09 20:38:47 +0200
committerJanne Grunau <janne-libav@jannau.net>2012-10-09 21:05:14 +0200
commit79e6e8eba203d48de4f0df0ec59fa385022cb5cd (patch)
treef17627e4f3e05193c8b90c906f27d474e08afdb5 /libavfilter
parent233a5a807e766425190941a8226988a4332ca9ad (diff)
downloadffmpeg-79e6e8eba203d48de4f0df0ec59fa385022cb5cd.tar.gz
avfilter: correct memcpy size avfilter_copy_buf_props()
Does not make a difference in this case since sizeof(uint8_t*) == sizeof(uint8_t**). Fixes CID703814.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/buffer.c b/libavfilter/buffer.c
index c939388656..439425a3ee 100644
--- a/libavfilter/buffer.c
+++ b/libavfilter/buffer.c
@@ -146,7 +146,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src)
if (!dst->extended_data)
return AVERROR(ENOMEM);
memcpy(dst->extended_data, src->extended_data,
- planes * sizeof(dst->extended_data));
+ planes * sizeof(*dst->extended_data));
} else
dst->extended_data = dst->data;