mirror of
https://github.com/mpv-player/mpv
synced 2025-01-12 09:59:44 +00:00
stream_libarchive: enable rar5 support
We whitelist formats (and not all of them). RAR v5 is a separated format entry for inexplicable reasons. (It's a separate implementation, but who really wants to support only either of the rar formats?) I'm not sure if it was libarchive 3.3.3. Their git history is absolutely chaotic. These people do not know how to use git. I couldn't be bothered to dig deeper.
This commit is contained in:
parent
99700bc52c
commit
657ce1b15c
@ -277,6 +277,7 @@ struct mp_archive *mp_archive_new(struct mp_log *log, struct stream *src,
|
||||
archive_read_support_format_7zip(mpa->arch);
|
||||
archive_read_support_format_iso9660(mpa->arch);
|
||||
archive_read_support_format_rar(mpa->arch);
|
||||
archive_read_support_format_rar5(mpa->arch);
|
||||
archive_read_support_format_zip(mpa->arch);
|
||||
archive_read_support_filter_bzip2(mpa->arch);
|
||||
archive_read_support_filter_gzip(mpa->arch);
|
||||
|
2
wscript
2
wscript
@ -414,7 +414,7 @@ iconv support use --disable-iconv.",
|
||||
}, {
|
||||
'name': '--libarchive',
|
||||
'desc': 'libarchive wrapper for reading zip files and more',
|
||||
'func': check_pkg_config('libarchive >= 3.0.0'),
|
||||
'func': check_pkg_config('libarchive >= 3.3.3'),
|
||||
}, {
|
||||
'name': '--dvbin',
|
||||
'desc': 'DVB input module',
|
||||
|
Loading…
Reference in New Issue
Block a user