# HG changeset patch # User lucabe # Date 1187852547 0 # Node ID 33718fb21437cc47e84bbf554c7e85cd64bffe8b # Parent 204273dd0349a7598015c05191a81f6e8ae99cd1 Initialize the "stc" variable before using it in ff_find_start_code() diff -r 204273dd0349 -r 33718fb21437 cavsdec.c --- 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;