changeset 5574:33718fb21437 libavcodec

Initialize the "stc" variable before using it in ff_find_start_code()
author lucabe
date Thu, 23 Aug 2007 07:02:27 +0000
parents 204273dd0349
children a6f5ed050335
files cavsdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cavsdec.c	Wed Aug 22 22:46:39 2007 +0000
+++ b/cavsdec.c	Thu Aug 23 07:02:27 2007 +0000
@@ -621,7 +621,7 @@
     const uint8_t *buf_end;
     const uint8_t *buf_ptr;
     AVFrame *picture = data;
-    uint32_t stc;
+    uint32_t stc = -1;
 
     s->avctx = avctx;