summaryrefslogtreecommitdiff
path: root/libarchive/archive_read_append_filter.c
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2014-08-14 17:11:41 +0900
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2014-08-14 17:11:41 +0900
commitef2d83a5c9e0c348c3c26f1625fc9e36352bdf18 (patch)
tree0d5882f993995e1b7853df0e006514db46910c86 /libarchive/archive_read_append_filter.c
parent1d2939fd3d5cbd08486317ae28f28eff51d8e092 (diff)
downloadlibarchive-ef2d83a5c9e0c348c3c26f1625fc9e36352bdf18.tar.gz
Add lz4 filter entry to archive_read_append_filter function.
Diffstat (limited to 'libarchive/archive_read_append_filter.c')
-rw-r--r--libarchive/archive_read_append_filter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libarchive/archive_read_append_filter.c b/libarchive/archive_read_append_filter.c
index 1505ea60..3a0d4d68 100644
--- a/libarchive/archive_read_append_filter.c
+++ b/libarchive/archive_read_append_filter.c
@@ -85,6 +85,10 @@ archive_read_append_filter(struct archive *_a, int code)
strcpy(str, "rpm");
r1 = archive_read_support_filter_rpm(_a);
break;
+ case ARCHIVE_FILTER_LZ4:
+ strcpy(str, "lz4");
+ r1 = archive_read_support_filter_lz4(_a);
+ break;
case ARCHIVE_FILTER_LZIP:
strcpy(str, "lzip");
r1 = archive_read_support_filter_lzip(_a);