diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-08-27 02:50:58 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-08-27 12:38:09 +0200 |
commit | ee099059e71efe44a877af6111b74878dac618ce (patch) | |
tree | 516fd6d29ffc2fe593dba4481ff8c6449508ad76 | |
parent | e2a89f7f0f8fe1c769c83d33efa717cc7b2edc57 (diff) | |
download | ffmpeg-ee099059e71efe44a877af6111b74878dac618ce.tar.gz |
vc1: Initialize start_code_found to 0
-rw-r--r-- | libavcodec/vc1_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1_parser.c b/libavcodec/vc1_parser.c index a6532820d1..7d8d016be9 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; |