diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-05 20:36:44 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-07 09:24:56 +0200 |
commit | 9d752ab634f7de9b15a9296a81325b4276e99192 (patch) | |
tree | ec802e019a89657b68afdcf5d527a4a02a78c818 /libavformat/voc.c | |
parent | 14a6025384ea7ebb97c6b718fbc91438abf94f37 (diff) | |
download | ffmpeg-9d752ab634f7de9b15a9296a81325b4276e99192.tar.gz |
avcodec/zmbv: Don't free uninitialized z_stream
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.
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/voc.c')
0 files changed, 0 insertions, 0 deletions