Commit d3d6c79c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

decoder: remove redundant call to block_FifoEmpty()

block_FifoRelease() takes care of it.
parent 78a42a03
...@@ -1808,7 +1808,6 @@ static void DeleteDecoder( decoder_t * p_dec ) ...@@ -1808,7 +1808,6 @@ static void DeleteDecoder( decoder_t * p_dec )
(unsigned)block_FifoCount( p_owner->p_fifo ) ); (unsigned)block_FifoCount( p_owner->p_fifo ) );
/* Free all packets still in the decoder fifo. */ /* Free all packets still in the decoder fifo. */
block_FifoEmpty( p_owner->p_fifo );
block_FifoRelease( p_owner->p_fifo ); block_FifoRelease( p_owner->p_fifo );
/* Cleanup */ /* Cleanup */
......
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