ad_spdif: fix lavf version check

Fixes: 62b1bad755
This commit is contained in:
Kacper Michajłow 2024-06-22 14:58:07 +02:00
parent 687eb4c875
commit 9e1271260f
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ struct spdifContext {
struct mp_decoder public;
};
#if LIBAVCODEC_VERSION_MAJOR < 61
#if LIBAVFORMAT_VERSION_MAJOR < 61
static int write_packet(void *p, uint8_t *buf, int buf_size)
#else
static int write_packet(void *p, const uint8_t *buf, int buf_size)