[FFmpeg-cvslog] vc1: Initialize start_code_found to 0
Luca Barbato
git at videolan.org
Sun Sep 14 15:58:39 CEST 2014
ffmpeg | branch: release/2.4 | Luca Barbato <lu_zero at gentoo.org> | Wed Aug 27 02:50:58 2014 +0200| [ee099059e71efe44a877af6111b74878dac618ce] | committer: Luca Barbato
vc1: Initialize start_code_found to 0
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ee099059e71efe44a877af6111b74878dac618ce
---
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 a653282..7d8d016 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;
More information about the ffmpeg-cvslog
mailing list