mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/jpeg2000dec: Clear properties in jpeg2000_dec_cleanup() too
Fixes: Ticket4878 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
50366b4295
commit
c980c5e54d
|
@ -1794,6 +1794,7 @@ static void jpeg2000_dec_cleanup(Jpeg2000DecoderContext *s)
|
|||
av_freep(&s->tile);
|
||||
memset(s->codsty, 0, sizeof(s->codsty));
|
||||
memset(s->qntsty, 0, sizeof(s->qntsty));
|
||||
memset(s->properties, 0, sizeof(s->properties));
|
||||
memset(&s->poc , 0, sizeof(s->poc));
|
||||
s->numXtiles = s->numYtiles = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue