Skip to content

Commit 158e465

Browse files
authored
Merge pull request #154 from mikelei8291/fix-deprecated
Remove the call to the deprecated method `avcodec_close`
2 parents 3116847 + 3a282b7 commit 158e465

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/video-source.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ VideoSource::VideoSource(const std::string &filename) : ImageSource(filename) {
111111

112112
VideoSource::~VideoSource() {
113113
sws_freeContext(sws_context_);
114-
avcodec_close(codec_context_);
115114
avcodec_free_context(&codec_context_);
116115
avformat_close_input(&format_context_);
117116
delete terminal_fb_;

0 commit comments

Comments
 (0)