]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Handle ARCHIVE_FILTER_LZOP in archive_read_append_filter (#2519)
authorFrançois Degros <fdegros@chromium.org>
Mon, 24 Feb 2025 15:01:39 +0000 (02:01 +1100)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2025 15:01:39 +0000 (07:01 -0800)
Fixes #2513

libarchive/archive_read_append_filter.c

index a3986e9b6e886cf51d0dae34958829141e1540c5..cd88df1199062fc9d01fe62598071031901e2bd5 100644 (file)
@@ -96,6 +96,10 @@ archive_read_append_filter(struct archive *_a, int code)
       strcpy(str, "lzip");
       r1 = archive_read_support_filter_lzip(_a);
       break;
+    case ARCHIVE_FILTER_LZOP:
+      strcpy(str, "lzop");
+      r1 = archive_read_support_filter_lzop(_a);
+      break;
     case ARCHIVE_FILTER_LRZIP:
       strcpy(str, "lrzip");
       r1 = archive_read_support_filter_lrzip(_a);