Re: [FFmpeg-devel] [PATCH 03/23] avcodec/zmbv: Don't free uninitialized z_stream

2021-05-07 Thread Tomas Härdin
tor 2021-05-06 klockan 07:11 +0200 skrev Andreas Rheinhardt: > It is not documented to be safe to call inflateEnd() on a z_stream > that has not been successfully initialized via inflateInit(); so > record whether it has been successfully initialized. > > Signed-off-by: Andreas Rheinhardt Seems

[FFmpeg-devel] [PATCH 03/23] avcodec/zmbv: Don't free uninitialized z_stream

2021-05-05 Thread Andreas Rheinhardt
It is not documented to be safe to call inflateEnd() on a z_stream that has not been successfully initialized via inflateInit(); so record whether it has been successfully initialized. Signed-off-by: Andreas Rheinhardt --- libavcodec/zmbv.c | 8 1 file changed, 4 insertions(+), 4 deleti