diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-19 22:35:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-19 22:35:32 +0200 |
commit | a96577df38469e5075caa416d3374576d9ab64ee (patch) | |
tree | 192440690705894486edecba2b2bd03b3a0ced62 | |
parent | d30351363f6f5b8fa49c9963cb1c1baf6af93de2 (diff) | |
download | ffmpeg-a96577df38469e5075caa416d3374576d9ab64ee.tar.gz |
avio: fix sizeof argument
Fixes CID732284
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/avio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 2e90012ec1..b67a5026ce 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -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; |