diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-10-09 20:38:47 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-10-09 21:05:14 +0200 |
commit | 79e6e8eba203d48de4f0df0ec59fa385022cb5cd (patch) | |
tree | f17627e4f3e05193c8b90c906f27d474e08afdb5 /libavfilter | |
parent | 233a5a807e766425190941a8226988a4332ca9ad (diff) | |
download | ffmpeg-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.c | 2 |
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; |