mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-08 11:57:38 -04:00
obs-ffmpeg: Fix ffmpeg_output memory leak
The memory leak was introduced by a commitba68eda59to use av_packet_alloc because av_init_packet got deprecated. Also removes a boolean flag `new_packet` and use the pointer `packet`, which is introduced byba68eda59, to indicate there is a new packet. Co-authored-by: Norihiro Kamae <norihiro@nagater.net>
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f