summaryrefslogtreecommitdiff
path: root/graphics/timg/files/patch-src_video-source.cc
blob: 2f1f337245e0045ae458e157325bab041a3fda23 (plain) (blame)
1
2
3
4
5
6
7
8
9
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_;