Fix version check for akode_write and ffmpeg 7.x.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 3 months ago
parent f6e20b92a9
commit 9218599dda
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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)

Loading…
Cancel
Save