[vlc-commits] decoder: stricter assertion

Rémi Denis-Courmont git at videolan.org
Sun Mar 11 22:02:59 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 11 23:02:48 2012 +0200| [8671c1a9b4beafe5f363b705316ec93f69f844d2] | committer: Rémi Denis-Courmont

decoder: stricter assertion

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8671c1a9b4beafe5f363b705316ec93f69f844d2
---

 src/input/decoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 47f27eb..bc5652d 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -517,7 +517,7 @@ void input_DecoderChangePause( decoder_t *p_dec, bool b_paused, mtime_t i_date )
 
     vlc_mutex_lock( &p_owner->lock );
 
-    assert( !p_owner->b_paused || !b_paused );
+    assert( p_owner->b_paused != b_paused );
 
     p_owner->b_paused = b_paused;
     p_owner->pause.i_date = i_date;



More information about the vlc-commits mailing list