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:
parent
cb4ce51196
commit
db4fae0a9b
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user