[FFmpeg-cvslog] vc1: Initialize start_code_found to 0

Luca Barbato git at videolan.org
Wed Aug 27 20:51:11 CEST 2014


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Wed Aug 27 02:50:58 2014 +0200| [ff771f79b55a346b4163d814b58ee4c98114745e] | committer: Luca Barbato

vc1: Initialize start_code_found to 0

Leftover of a4d3c20035946cbc1509aec2dc28d51c2a2f9a8e.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ff771f79b55a346b4163d814b58ee4c98114745e
---

 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