mxpeg_decode_end: zero bitmask size
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 31 Jan 2014 16:59:14 +0000 (17:59 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 31 Jan 2014 17:34:14 +0000 (18:34 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mxpegdec.c

index 155d348..fbd4767 100644 (file)
@@ -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);