summaryrefslogtreecommitdiffstats
path: root/stream/stream_libarchive.h
blob: ebded5b5ba0ef092b905c7d94352b2481709e43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
struct mp_log;

struct mp_archive {
    struct archive *arch;
    struct stream *primary_src;
    char buffer[4096];
};

void mp_archive_free(struct mp_archive *mpa);

#define MP_ARCHIVE_FLAG_UNSAFE 1
struct mp_archive *mp_archive_new(struct mp_log *log, struct stream *src,
                                  int flags);