[vlc-commits] decoder: remove invalid assert
Thomas Guillem
git at videolan.org
Fri Jun 7 10:24:04 CEST 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jun 7 10:23:29 2019 +0200| [203cbfb6c94aeee1fa71e3f7cd05404a9e5d641b] | committer: Thomas Guillem
decoder: remove invalid assert
Decoder can be created without clocks (for recording for example)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=203cbfb6c94aeee1fa71e3f7cd05404a9e5d641b
---
src/input/decoder.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index 45cf9844b1..53fd02376d 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -766,7 +766,6 @@ static int DecoderPlaySout( decoder_t *p_dec, block_t *p_sout_block )
{
struct decoder_owner *p_owner = dec_get_owner( p_dec );
- assert( p_owner->p_clock );
assert( !p_sout_block->p_next );
vlc_mutex_lock( &p_owner->lock );
More information about the vlc-commits
mailing list