diff options
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux_subreader.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demux/demux_subreader.c b/demux/demux_subreader.c index 87a5e9aeb8..b84f766b4a 100644 --- a/demux/demux_subreader.c +++ b/demux/demux_subreader.c @@ -758,6 +758,10 @@ static int d_open_file(struct demuxer *demuxer, enum demux_check check) { if (check > DEMUX_CHECK_REQUEST) return -1; +#if LIBAVUTIL_VERSION_MICRO >= 100 + if (check != DEMUX_CHECK_FORCE) + return -1; +#endif if (!demuxer->params || !demuxer->params->expect_subtitle) return -1; |