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

There is not function named "av_mallocz_array" in the recent ffmpeg library #126

Open
asmwarrior opened this issue Apr 30, 2023 · 0 comments

Comments

@asmwarrior
Copy link

Hi, when I try to run the sample code, I got the build error that the function av_mallocz_array is not defined.

I just looked at the ffmpeg library, and in this file, it said this function is deprecated.

https://github.com/FFmpeg/FFmpeg/blob/41dd50ad0dbbdec2225a6793758d40f0281978d9/doc/APIchanges#L315

2021-09-20 - 8d5de914d31 - lavu 57.6.100 - mem.h
Deprecate av_mallocz_array() as it is identical to av_calloc().

So, can you fix your sample code? BTW, I'm using the Package: mingw-w64-x86_64-ffmpeg - MSYS2 Packages, which is version 6.0.3 under Windows + msys2(gcc compiler)

Thanks.

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

No branches or pull requests

1 participant