[vlc-devel] commit: Fixed missing type for b_was_paused. (Laurent Aimar )

git version control git at videolan.org
Mon Jan 26 22:50:32 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jan 26 22:42:52 2009 +0100| [44522f524f0b5f3fe6176b70d22f0a4bad3627d8] | committer: Laurent Aimar 

Fixed missing type for b_was_paused.

Isn't there a gcc flag to avoid compiling that ?
 const a = value.

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

 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 a5860a5..4a5eeff 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -339,7 +339,7 @@ void input_DecoderDelete( decoder_t *p_dec )
 
     /* Make sure we aren't paused/buffering/waiting anymore */
     vlc_mutex_lock( &p_owner->lock );
-    const b_was_paused = p_owner->b_paused;
+    const bool b_was_paused = p_owner->b_paused;
     p_owner->b_paused = false;
     p_owner->b_buffering = false;
     p_owner->b_flushing = true;




More information about the vlc-devel mailing list