Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct syntax #38

Merged
merged 3 commits into from
Dec 8, 2023
Merged

Correct syntax #38

merged 3 commits into from
Dec 8, 2023

Conversation

adro79
Copy link
Contributor

@adro79 adro79 commented Mar 29, 2023

Delete the "z" in av_malloc_array, this gave me an error when building in Arch Linux

/home/adro/Applications/AUR/xstudio/src/xstudio/src/plugin/media_metadata/ffprobe/src/ffprobe_lib.cpp:105:35: error: ‘av_mallocz_array’ was not declared in this scope; did you mean ‘av_malloc_array’?
  105 |         result = (AVDictionary **)av_mallocz_array(avfc->nb_streams, sizeof(*result));
      |                                   ^~~~~~~~~~~~~~~~
      |                                   av_malloc_array

@tedwaine tedwaine merged commit 6cb9613 into AcademySoftwareFoundation:main Dec 8, 2023
3 checks passed
@tedwaine
Copy link
Contributor

tedwaine commented Dec 8, 2023

thanks for spotting this, sorry it took so long to merge! Looks like av_mallocz_array is marked as deprecated in the ffmpeg version we have been using and I presume removed in yours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants