From e02f7490da1ce126c679e513791071e56617b69a Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Thu, 23 Aug 2007 07:02:27 +0000 Subject: [PATCH] Initialize the "stc" variable before using it in ff_find_start_code() Originally committed as revision 10193 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cavsdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 3dc53dd96b..a9e4cc2b8d 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -621,7 +621,7 @@ static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size, const uint8_t *buf_end; const uint8_t *buf_ptr; AVFrame *picture = data; - uint32_t stc; + uint32_t stc = -1; s->avctx = avctx;