summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/ffmpeg/libavfilter/pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ffmpeg/libavfilter/pthread.c')
-rw-r--r--chromium/third_party/ffmpeg/libavfilter/pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/ffmpeg/libavfilter/pthread.c b/chromium/third_party/ffmpeg/libavfilter/pthread.c
index 92c4d08b4d3..070b3bded50 100644
--- a/chromium/third_party/ffmpeg/libavfilter/pthread.c
+++ b/chromium/third_party/ffmpeg/libavfilter/pthread.c
@@ -170,7 +170,7 @@ static int thread_init_internal(ThreadContext *c, int nb_threads)
return 1;
c->nb_threads = nb_threads;
- c->workers = av_mallocz(sizeof(*c->workers) * nb_threads);
+ c->workers = av_mallocz_array(sizeof(*c->workers), nb_threads);
if (!c->workers)
return AVERROR(ENOMEM);