fuyingqi f5be6f5fdd obs-ffmpeg: Fix ffmpeg_output memory leak
The memory leak was introduced by a commit ba68eda59 to 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 by ba68eda59, to indicate there is a new packet.

Co-authored-by: Norihiro Kamae <norihiro@nagater.net>
2022-08-18 11:07:17 -07:00
..
2022-08-17 04:22:50 +00:00
2022-08-17 04:22:50 +00:00
2022-07-31 23:40:53 +00:00
2022-07-31 23:40:53 +00:00
2022-08-17 23:20:29 -07:00
2022-08-17 04:22:50 +00:00
2022-08-17 04:22:50 +00:00