[FFmpeg-devel] [PATCH 02/21] avcodec/zlib_wrapper: Add wrappers for zlib inflateInit, inflateEnd
Tomas Härdin
tjoppen at acc.umu.se
Wed Mar 16 21:24:53 EET 2022
> +int ff_inflate_init(FFZStream *z, void *logctx)
> +{
> + z_stream *const zstream = &z->zstream;
> + int zret;
> +
> + z->inited = 0;
> + zstream->next_in = Z_NULL;
> + zstream->avail_in = 0;
> + zstream->zalloc = Z_NULL;
> + zstream->zfree = Z_NULL;
> + zstream->opaque = Z_NULL;
why not bzero()?
Rest of the patch looks fine
/Tomas
More information about the ffmpeg-devel
mailing list