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.
This commit is contained in:
Janne Grunau 2012-10-09 20:38:47 +02:00
parent 233a5a807e
commit 79e6e8eba2
1 changed files with 1 additions and 1 deletions

View File

@ -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;