[SCM] libav/master: vc1: Initialize start_code_found to 0

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Wed Sep 17 01:18:09 UTC 2014


The following commit has been merged in the master branch:
commit ee099059e71efe44a877af6111b74878dac618ce
Author: Luca Barbato <lu_zero at gentoo.org>
Date:   Wed Aug 27 02:50:58 2014 +0200

    vc1: Initialize start_code_found to 0

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;
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list