Commit db4fae0a authored by François Cartegnie's avatar François Cartegnie 🤞

codec: avcodec: missing context reset after flush

parent cb4ce511
......@@ -1248,6 +1248,7 @@ static int DecodeVideo( decoder_t *p_dec, block_t *p_block )
block_Release( p_block );
p_block = NULL; /* output only */
}
avcodec_flush_buffers( p_sys->p_context );
}
return DecodeBlock( p_dec, pp_block );
......
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