Mercurial > libavformat.hg
comparison oggdec.h @ 5637:37e2c3e635b3 libavformat
Fix playback with invalid files that don't set the continuation flag for
pages that continue packets started in prior pages.
Fixes issue1248
author | conrad |
---|---|
date | Mon, 08 Feb 2010 10:13:03 +0000 |
parents | 52c7b29eca31 |
children | 9145ca829bce |
comparison
equal
deleted
inserted
replaced
5636:7309cd6645b6 | 5637:37e2c3e635b3 |
---|---|
69 int flags; | 69 int flags; |
70 const struct ogg_codec *codec; | 70 const struct ogg_codec *codec; |
71 int header; | 71 int header; |
72 int nsegs, segp; | 72 int nsegs, segp; |
73 uint8_t segments[255]; | 73 uint8_t segments[255]; |
74 int incomplete; ///< whether we're expecting a continuation in the next page | |
74 int page_end; ///< current packet is the last one completed in the page | 75 int page_end; ///< current packet is the last one completed in the page |
75 void *private; | 76 void *private; |
76 }; | 77 }; |
77 | 78 |
78 struct ogg_state { | 79 struct ogg_state { |