mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
obs-ffmpeg: Fix warnings with FFmpeg 3.0.0+
Fixes warnings with deprecated function av_free_packet (which was replaced by av_packet_unref)
This commit is contained in:
1 parent
2fd30407e6
commit
cdcb8d1f81
1 file changed
+3
@@ -20,3 +20,6 @@
|
||||
# define av_frame_free avcodec_free_frame
|
||||
#endif
|
||||
|
||||
#if LIBAVCODEC_VERSION_MAJOR >= 57
|
||||
#define av_free_packet av_packet_unref
|
||||
#endif
|
||||
Reference in new issue
Block a user