Skip to content

Commit

Permalink
Merge pull request #38 from adro79/patch-1
Browse files Browse the repository at this point in the history
Correct syntax
  • Loading branch information
tedwaine authored Dec 8, 2023
2 parents f6f1195 + 907fcec commit 6cb9613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/media_metadata/ffprobe/src/ffprobe_lib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down

0 comments on commit 6cb9613

Please sign in to comment.