From c256f14038f94eddcb7d0656df4623078babed75 Mon Sep 17 00:00:00 2001 From: adro79 <57686179+adro79@users.noreply.github.com> Date: Wed, 29 Mar 2023 23:13:00 +0200 Subject: [PATCH] Correct syntax Delete the z in av_malloc_array Signed-off-by: adro79 <57686179+adro79@users.noreply.github.com> --- src/plugin/media_metadata/ffprobe/src/ffprobe_lib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin/media_metadata/ffprobe/src/ffprobe_lib.cpp b/src/plugin/media_metadata/ffprobe/src/ffprobe_lib.cpp index e25b49eb0..47e8d39e4 100644 --- a/src/plugin/media_metadata/ffprobe/src/ffprobe_lib.cpp +++ b/src/plugin/media_metadata/ffprobe/src/ffprobe_lib.cpp @@ -102,7 +102,7 @@ AVDictionary **init_find_stream_opts(AVFormatContext *avfc, AVDictionary *codec_ AVDictionary **result = nullptr; if (avfc->nb_streams) { - result = (AVDictionary **)av_mallocz_array(avfc->nb_streams, sizeof(*result)); + result = (AVDictionary **)av_malloc_array(avfc->nb_streams, sizeof(*result)); if (result) { for (unsigned int i = 0; i < avfc->nb_streams; i++)