Go to the documentation of this file.
40 #if CONFIG_INFLATE_WRAPPER
43 z_stream *
const zstream = &z->
zstream;
47 zstream->next_in = Z_NULL;
48 zstream->avail_in = 0;
51 zstream->opaque = Z_NULL;
53 zret = inflateInit(zstream);
58 zret, zstream->msg ? zstream->msg :
"");
73 #if CONFIG_DEFLATE_WRAPPER
76 z_stream *
const zstream = &z->
zstream;
82 zstream->opaque = Z_NULL;
84 zret = deflateInit(zstream,
level);
89 zret, zstream->msg ? zstream->msg :
"");
void ff_deflate_end(FFZStream *zstream)
Wrapper around deflateEnd().
static void * alloc_wrapper(void *opaque, uInt items, uInt size)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static void free_wrapper(void *opaque, void *ptr)
#define AVERROR_EXTERNAL
Generic error in an external library.
#define av_malloc_array(a, b)
void ff_inflate_end(FFZStream *zstream)
Wrapper around inflateEnd().
int ff_inflate_init(FFZStream *zstream, void *logctx)
Wrapper around inflateInit().
int ff_deflate_init(FFZStream *zstream, int level, void *logctx)
Wrapper around deflateInit().