mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
5cfbe67e43
OK: sthen@ kn@
13 lines
324 B
Plaintext
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);
|