summaryrefslogtreecommitdiff
path: root/libavcodec/vc1_parser.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-08-27 02:50:58 +0200
committerLuca Barbato <lu_zero@gentoo.org>2014-08-27 12:36:41 +0200
commitff771f79b55a346b4163d814b58ee4c98114745e (patch)
treeeeb9254d7bab97528ce8376f7666073e62395ba1 /libavcodec/vc1_parser.c
parentf5245a9c6206878b892adf3ccbccc9311c202af5 (diff)
vc1: Initialize start_code_found to 0
Leftover of a4d3c20035946cbc1509aec2dc28d51c2a2f9a8e.
Diffstat (limited to 'libavcodec/vc1_parser.c')
-rw-r--r--libavcodec/vc1_parser.c2
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;