decoder/ffmpeg: suppress -Wunused with libavformat<58.6.100
This commit is contained in:
parent
aa6dac9bd2
commit
82da57b7ce
|
@ -470,6 +470,7 @@ IsSeekable(const AVFormatContext &format_context) noexcept
|
||||||
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(58, 6, 100)
|
#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(58, 6, 100)
|
||||||
return (format_context.ctx_flags & AVFMTCTX_UNSEEKABLE) != 0;
|
return (format_context.ctx_flags & AVFMTCTX_UNSEEKABLE) != 0;
|
||||||
#else
|
#else
|
||||||
|
(void)format_context;
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue