[FFmpeg-cvslog] r10193 - trunk/libavcodec/cavsdec.c

lucabe subversion
Thu Aug 23 09:02:27 CEST 2007


Author: lucabe
Date: Thu Aug 23 09:02:27 2007
New Revision: 10193

Log:
Initialize the "stc" variable before using it in ff_find_start_code()


Modified:
   trunk/libavcodec/cavsdec.c

Modified: trunk/libavcodec/cavsdec.c
==============================================================================
--- trunk/libavcodec/cavsdec.c	(original)
+++ trunk/libavcodec/cavsdec.c	Thu Aug 23 09:02:27 2007
@@ -621,7 +621,7 @@ static int cavs_decode_frame(AVCodecCont
     const uint8_t *buf_end;
     const uint8_t *buf_ptr;
     AVFrame *picture = data;
-    uint32_t stc;
+    uint32_t stc = -1;
 
     s->avctx = avctx;
 




More information about the ffmpeg-cvslog mailing list