OBS Studio - Free and open source software for live streaming and screen recording
obs-ffmpeg: Use av_packet_alloc instead of av_init_packet
sizeof(AVPacket) being a part of the public ABI is deprecated. once av_init_packet() is removed, new packets will only be able to be allocated with av_packet_alloc(). In ffmpeg-mux, ffmpeg-vaapi, and obs-ffmpeg-nvenc, AVPacket is allocated at the initialization to avoid frequent allocation of AVPacket. Includes changes to win-dshow.
N
Norihiro Kamae committed
ba68eda590b2621b13691a40bb9541ebb353257d
Parent: 85addc3
Committed by Jim <obs.jim@gmail.com>
on 3/25/2022, 12:19:40 AM