Commit 902dc4c6 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

theora: fix memleak in case of error or discontinuity

Closes #9414

(cherry picked from commit 75946591b91bb1b117d3d1e74081fa709a34315c)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9ff2971a
......@@ -409,6 +409,7 @@ static void *ProcessPacket( decoder_t *p_dec, ogg_packet *p_oggpacket,
/* Don't send the the first packet after a discontinuity to
* theora_decode, otherwise we get purple/green display artifacts
* appearing in the video output */
block_Release(p_block);
return NULL;
}
......
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