Update to musikcube-3.0.5.

This commit is contained in:
benoit
2026-01-07 14:01:04 +00:00
parent 7f6ec158ef
commit f0f214d156
4 changed files with 4 additions and 20 deletions
+1 -2
View File
@@ -2,9 +2,8 @@ COMMENT = terminal-based music player
GH_ACCOUNT = clangen
GH_PROJECT = musikcube
GH_TAGNAME = 3.0.4
GH_TAGNAME = 3.0.5
CATEGORIES = audio
REVISION = 0
HOMEPAGE = https://musikcube.com/
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (musikcube-3.0.4.tar.gz) = JbuVuHBdjHm95EfnxwGTcu6n6u2dAmhRAnjn/NsTeKU=
SIZE (musikcube-3.0.4.tar.gz) = 4827124
SHA256 (musikcube-3.0.5.tar.gz) = cIKSpYO7UHKo27FOQIwqH2Hem4yXhtTlOz5pvvXa2MU=
SIZE (musikcube-3.0.5.tar.gz) = 4891353
+1 -1
View File
@@ -1,7 +1,7 @@
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -127,12 +127,16 @@ add_dependencies(musikcubed musikcore)
@@ -122,12 +122,16 @@ add_dependencies(musikcubed musikcore)
# tag readers
add_plugin("src/plugins/taglib_plugin" "taglibreader")
# outputs
@@ -1,15 +0,0 @@
Index: src/plugins/ffmpegdecoder/FfmpegDecoder.cpp
--- src/plugins/ffmpegdecoder/FfmpegDecoder.cpp.orig
+++ src/plugins/ffmpegdecoder/FfmpegDecoder.cpp
@@ -267,7 +267,11 @@ void FfmpegDecoder::Reset() {
// avcodec_flush_buffers(this->codecContext);
auto stream = this->formatContext->streams[this->streamId];
if (stream != nullptr) {
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(61, 3, 100)
avcodec_close(this->codecContext);
+#else
+ avcodec_free_context(&this->codecContext);
+#endif
}
this->codecContext = nullptr;