[vlc-devel] commit: Fix use of unitialised value (CID 262) ( Rémi Duraffort )

git version control git at videolan.org
Wed Oct 8 22:01:17 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Oct  8 21:54:28 2008 +0200| [4201cd2b5cd63b434dd7dc0cebab7441964a566b] | committer: Rémi Duraffort 

Fix use of unitialised value (CID 262)

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

 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 81e9bff..39f72a5 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -868,7 +868,7 @@ static void DecoderDecodeAudio( decoder_t *p_dec, block_t *p_block )
     {
         aout_instance_t *p_aout = p_owner->p_aout;
         aout_input_t    *p_aout_input = p_owner->p_aout_input;
-        int i_lost;
+        int i_lost = 0;
         int i_played;
 
         if( p_dec->b_die )




More information about the vlc-devel mailing list