summaryrefslogtreecommitdiff
path: root/libavformat/oggdec.h
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-02-08 10:13:03 +0000
committerDavid Conrad <lessen42@gmail.com>2010-02-08 10:13:03 +0000
commitecc0027bc6d58536b92003173b0e23504e828472 (patch)
tree2d7cee753b4e70a3ceb47c5949f23c68db6bc62c /libavformat/oggdec.h
parent55a7e946f6558eb36296fbd14a04d675bebe91ea (diff)
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
Diffstat (limited to 'libavformat/oggdec.h')
-rw-r--r--libavformat/oggdec.h1
1 files changed, 1 insertions, 0 deletions
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;
};