Files
ports/multimedia/lebiniou/patches/patch-plugins_main_video_video_c
T
2025-10-21 13:03:24 +00:00

13 lines
324 B
Plaintext

Index: plugins/main/video/video.c
--- plugins/main/video/video.c.orig
+++ plugins/main/video/video.c
@@ -225,7 +225,7 @@ static void
free_allocated(void)
{
if (NULL != codec_ctx) {
- avcodec_close(codec_ctx);
+ avcodec_free_context(&codec_ctx);
}
if (NULL != fmt_ctx) {
avformat_close_input(&fmt_ctx);