-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deprecation warnings in th_movies.cpp and free frames properly
Use av_frame_alloc, av_frame_unref, and av_frame_free instead of their earlier equivalents. In the case of av_frame_free we were not using the earlier equivalent but av_free. With these changes avcodec_frame_free will be used on versions that don't yet support av_frame_free. FFMPEG versions that do not support avcodec_frame_free are not supported with this commit.
- Loading branch information
1 parent
4967521
commit 5710f1c
Showing
1 changed file
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters