mirror of https://github.com/mpv-player/mpv
parent
687eb4c875
commit
9e1271260f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue