summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2024-08-15 14:09:25 +0200
committerSlávek Banko <[email protected]>2024-08-15 14:29:07 +0200
commit400687a32fca2e9b9238fd0789499ae9e3cfc8c8 (patch)
treee66886df144f4e67c56534eeb7bd0d623dbd1579
parenta4d07cf64ba4728ca78e2e7c69d9cc98cb449208 (diff)
downloadakode-r14.1.x.tar.gz
akode-r14.1.x.zip
Fix version check for akode_write and ffmpeg 7.x.r14.1.3r14.1.x
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 9218599ddadb97c3f6b933f7d1a9726cc8da5711)
-rw-r--r--akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp b/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp
index 6db8834..f4ec7c3 100644
--- a/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp
+++ b/akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp
@@ -50,7 +50,7 @@ extern "C" {
aKode::File *file = (aKode::File*)opaque;
return file->read((char*)buf, size);
}
-#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(60, 16, 100)
+#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(61, 0, 100)
static int akode_write(void* opaque, uint8_t *buf, int size)
#else
static int akode_write(void* opaque, const uint8_t *buf, int size)