aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-18 01:12:12 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-10-20 10:38:38 +0100
commit02484d1a9316a9309fc1830825345ab79f6a8d60 (patch)
treeef6e4d4b0731dbfe1b83027b317ed7792d9c0858
parent8ab3b71e4b343cec3fa369a880ab4496d7345154 (diff)
downloadffmpeg-02484d1a9316a9309fc1830825345ab79f6a8d60.tar.gz
avio: fix sizeof argument
CC: libav-stable@libav.org Bug-Id: CID 732284
-rw-r--r--libavformat/avio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 7f6449c087..f68994cef1 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -361,7 +361,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;