summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_lavf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c
index 2fa7764d44..4afdc7244d 100644
--- a/stream/stream_lavf.c
+++ b/stream/stream_lavf.c
@@ -189,7 +189,7 @@ static int open_f(stream_t *stream, int mode, void *opts, int *file_format)
goto out;
}
-#if LIBAVFORMAT_VERSION_MICRO >= 100
+#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(54, 0, 0)
if (avio->av_class) {
uint8_t *mt = NULL;
if (av_opt_get(avio, "mime_type", AV_OPT_SEARCH_CHILDREN, &mt) >= 0)