1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-07 03:56:28 +02:00

codec: avcodec: missing context reset after flush

This commit is contained in:
Francois Cartegnie 2018-04-24 18:18:58 +02:00
parent cb4ce51196
commit db4fae0a9b

View File

@ -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 );