Commit 198199c5 authored by Marian Ďurkovič's avatar Marian Ďurkovič

libmpeg2: reset decoder when get outpic failed - should fix #3072

parent 1ef06cd3
......@@ -280,7 +280,7 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
picture_t *p_picture = DpbNewPicture( p_dec );
if( !p_picture )
{
/* Is it ok ? or do we need a reset ? */
Reset( p_dec );
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