Commit f0552e63 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Luca Barbato
Browse files

jpeg2000: Reset s->numX/Ytiles on tile deallocation

Keep the structure fields more consistent after cleanup.
Signed-off-by: default avatarLuca Barbato <>
parent e11099db
......@@ -1233,6 +1233,7 @@ static void jpeg2000_dec_cleanup(Jpeg2000DecoderContext *s)
s->numXtiles = s->numYtiles = 0;
static int jpeg2000_read_main_headers(Jpeg2000DecoderContext *s)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment