Skip to content
Snippets Groups Projects
Commit a96577df authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avio: fix sizeof argument


Fixes CID732284
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent d3035136
No related branches found
No related tags found
No related merge requests found
......@@ -396,7 +396,7 @@ int ffurl_get_multi_file_handle(URLContext *h, int **handles, int *numhandles)
if (!h->prot->url_get_multi_file_handle) {
if (!h->prot->url_get_file_handle)
return AVERROR(ENOSYS);
*handles = av_malloc(sizeof(*handles));
*handles = av_malloc(sizeof(**handles));
if (!*handles)
return AVERROR(ENOMEM);
*numhandles = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment