diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-18 01:12:12 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-01-13 00:00:43 +0100 |
commit | 5aceced0a0d235d485e88fda502019b221dbf3d2 (patch) | |
tree | 5af75fa7060efb6978f88bdbe72a897baa7854e2 | |
parent | 27487944eff721ef8e310db1a2a52329d9377f71 (diff) | |
download | ffmpeg-5aceced0a0d235d485e88fda502019b221dbf3d2.tar.gz |
avio: fix sizeof argument
CC: libav-stable@libav.org
Bug-Id: CID 732284
-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 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; |