aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_read_support_format_by_code.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_read_support_format_by_code.c')
-rw-r--r--libarchive/archive_read_support_format_by_code.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libarchive/archive_read_support_format_by_code.c b/libarchive/archive_read_support_format_by_code.c
index 084563f4310e..034353d78f63 100644
--- a/libarchive/archive_read_support_format_by_code.c
+++ b/libarchive/archive_read_support_format_by_code.c
@@ -60,6 +60,9 @@ archive_read_support_format_by_code(struct archive *a, int format_code)
case ARCHIVE_FORMAT_RAR:
return archive_read_support_format_rar(a);
break;
+ case ARCHIVE_FORMAT_RAR_V5:
+ return archive_read_support_format_rar5(a);
+ break;
case ARCHIVE_FORMAT_TAR:
return archive_read_support_format_tar(a);
break;