> +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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".