diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-31 20:59:14 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-31 21:34:14 +0400 |
commit | 0de9d72b7c000f8abdee8b3a90b13896fff41147 (patch) | |
tree | 749c20f3924453ea4348fcb30abfb24cd8670b70 /libavcodec | |
parent | 2884688bd51a808ccda3c0e13367619cd79e0579 (diff) |
mxpeg_decode_end: zero bitmask size
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mxpegdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mxpegdec.c b/libavcodec/mxpegdec.c index 155d348905..fbd4767db8 100644 --- a/libavcodec/mxpegdec.c +++ b/libavcodec/mxpegdec.c @@ -54,6 +54,7 @@ static av_cold int mxpeg_decode_end(AVCodecContext *avctx) for (i = 0; i < 2; ++i) av_frame_free(&s->picture[i]); + s->bitmask_size = 0; av_freep(&s->mxm_bitmask); av_freep(&s->completion_bitmask); |