Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-06-04 01:25:09 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2017-06-04 01:25:09 +0300
commit98256595fae197fa9dcdb19e72b138ef05a21bea (patch)
tree4b191eb88f81d1a51cc5d511905604f0854d36e1 /libavcodec/tiff.c
parent9221445fa001093307864a53f91c1172c239de18 (diff)
avcodec/tiff: Clear deinvert_buf_size on deallocation
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r--libavcodec/tiff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index b96caeb8ce..69e8d1683a 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -1411,6 +1411,7 @@ static av_cold int tiff_end(AVCodecContext *avctx)
ff_lzw_decode_close(&s->lzw);
av_freep(&s->deinvert_buf);
+ s->deinvert_buf_size = 0;
av_freep(&s->fax_buffer);
s->fax_buffer_size = 0;
return 0;