microsoft / microsoft/FFmpegInterop
Build error: av_free_packet deprecated
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 319
- PR merge metrics
- No merged PRs in 30d
Description
I just pulled the current code of both this project and ffmpeg, finished building ffmpeg but now get the following error when trying to build FFmpegInterop:
C4996: "av_free_packet": was declared as deprecated
I could fix it by adding 4996 to Properties > Configuration Properties > C/C++ > Advanced > Disable Specific Warnings, but this shouldn't be the way to go, right?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the av_free_packet call in the FFmpegInterop source and compare it with the current FFmpeg API. Build FFmpegInterop with the deprecation warning enabled to verify the failure. Done means the project builds without suppressing warning C4996.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100