From 7bbc686f82146dfdc5201dc43c9d90b466d0f065 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 22 Feb 2009 20:48:12 +0000 Subject: Fix vc1 split(). Fixes Subtitle-sample.evo, issue52. Originally committed as revision 17533 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vc1_parser.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libavcodec/vc1_parser.c b/libavcodec/vc1_parser.c index a9baccc..3f4618d 100644 --- a/libavcodec/vc1_parser.c +++ b/libavcodec/vc1_parser.c @@ -99,11 +99,17 @@ static int vc1_split(AVCodecContext *avctx, { int i; uint32_t state= -1; + int charged=0; for(i=0; i