From ee099059e71efe44a877af6111b74878dac618ce Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 27 Aug 2014 02:50:58 +0200 Subject: [PATCH] vc1: Initialize start_code_found to 0 --- libavcodec/vc1_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vc1_parser.c b/libavcodec/vc1_parser.c index a6532820d..7d8d016be 100644 --- a/libavcodec/vc1_parser.c +++ b/libavcodec/vc1_parser.c @@ -123,7 +123,7 @@ static int vc1_parse(AVCodecParserContext *s, uint8_t *unesc_buffer = vpc->unesc_buffer; size_t unesc_index = vpc->unesc_index; VC1ParseSearchState search_state = vpc->search_state; - int start_code_found; + int start_code_found = 0; int next = END_NOT_FOUND; int i = vpc->bytes_to_skip; -- 2.34.1