From ecc0027bc6d58536b92003173b0e23504e828472 Mon Sep 17 00:00:00 2001 From: David Conrad Date: Mon, 8 Feb 2010 10:13:03 +0000 Subject: Fix playback with invalid files that don't set the continuation flag for pages that continue packets started in prior pages. Fixes issue1248 Originally committed as revision 21688 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/oggdec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/oggdec.h') diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h index 7c677a1de4..b0a23e2516 100644 --- a/libavformat/oggdec.h +++ b/libavformat/oggdec.h @@ -71,6 +71,7 @@ struct ogg_stream { int header; int nsegs, segp; uint8_t segments[255]; + int incomplete; ///< whether we're expecting a continuation in the next page int page_end; ///< current packet is the last one completed in the page void *private; }; -- cgit v1.2.3