Fixed missing type for b_was_paused.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 26 Jan 2009 21:42:52 +0000 (22:42 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 26 Jan 2009 21:42:52 +0000 (22:42 +0100)
Isn't there a gcc flag to avoid compiling that ?
 const a = value.

src/input/decoder.c

index a5860a5..4a5eeff 100644 (file)
@@ -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;