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)
|
||||
return (format_context.ctx_flags & AVFMTCTX_UNSEEKABLE) != 0;
|
||||
#else
|
||||
(void)format_context;
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue