summaryrefslogtreecommitdiff
path: root/graphics/timg/files/patch-src_video-source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/timg/files/patch-src_video-source.cc')
-rw-r--r--graphics/timg/files/patch-src_video-source.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/timg/files/patch-src_video-source.cc b/graphics/timg/files/patch-src_video-source.cc
new file mode 100644
index 000000000000..2f1f337245e0
--- /dev/null
+++ b/graphics/timg/files/patch-src_video-source.cc
@@ -0,0 +1,10 @@
+--- src/video-source.cc.orig 2025-09-01 04:23:46 UTC
++++ src/video-source.cc
+@@ -111,7 +111,6 @@ VideoSource::~VideoSource() {
+
+ VideoSource::~VideoSource() {
+ sws_freeContext(sws_context_);
+- avcodec_close(codec_context_);
+ avcodec_free_context(&codec_context_);
+ avformat_close_input(&format_context_);
+ delete terminal_fb_;