Skip to content

Commit

Permalink
fixed typo in 83dc896
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Apr 10, 2024
1 parent 83dc896 commit 19b2d87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/filters/ff_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -804,10 +804,12 @@ GF_FilterArgs ffmpeg_arg_translate(const struct AVOption *opt)
if (!(opt->flags & AV_OPT_FLAG_READONLY))
arg.flags |= GF_FS_ARG_UPDATE;

u32 type = opt->type & ~AV_OPT_TYPE_FLAG_ARRAY;
#if AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, LIBAVUTIL_VERSION_MINOR, 0) > AV_VERSION_INT(59,0, 0)
u32 type = opt->type & ~AV_OPT_TYPE_FLAG_ARRAY;
if (opt->type & AV_OPT_TYPE_FLAG_ARRAY)
arg.flags |= GF_FS_ARG_META_ARRAY;
#else
u32 type = opt->type;
#endif

switch (type) {
Expand Down

0 comments on commit 19b2d87

Please sign in to comment.