[vlc-commits] decoder: remove redundant call to block_FifoEmpty()
Rémi Denis-Courmont
git at videolan.org
Tue Mar 17 19:51:53 CET 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 17 19:00:47 2015 +0200| [d3d6c79c650f0ba831d217dcba4248bd16c78b2a] | committer: Rémi Denis-Courmont
decoder: remove redundant call to block_FifoEmpty()
block_FifoRelease() takes care of it.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d3d6c79c650f0ba831d217dcba4248bd16c78b2a
---
src/input/decoder.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index 451024b..3ccad9b 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1808,7 +1808,6 @@ static void DeleteDecoder( decoder_t * p_dec )
(unsigned)block_FifoCount( p_owner->p_fifo ) );
/* Free all packets still in the decoder fifo. */
- block_FifoEmpty( p_owner->p_fifo );
block_FifoRelease( p_owner->p_fifo );
/* Cleanup */
More information about the vlc-commits
mailing list