Commit 75946591 authored by Rafaël Carré's avatar Rafaël Carré

theora: fix memleak in case of error or discontinuity

Closes #9414
parent 5daf549f
......@@ -433,6 +433,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 */
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