aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggdec.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-04-05 00:29:01 +0200
committerLuca Barbato <lu_zero@gentoo.org>2011-04-10 04:33:15 +0200
commit47dec30edb8565b7e0e8716dc6d0dc36d5b7bc40 (patch)
treea7a54e93b13096a4366e29dd42ce0323f79b156a /libavformat/oggdec.h
parentcbfa93aca33dda399dd946f1bc4e3097c124fa5d (diff)
downloadffmpeg-47dec30edb8565b7e0e8716dc6d0dc36d5b7bc40.tar.gz
oggdec: fix demuxing chained audio streams
Chained ogg served by icecast and mpd should demux properly now. Fixes issue2337 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
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 7d66cd5638..785cd812f9 100644
--- a/libavformat/oggdec.h
+++ b/libavformat/oggdec.h
@@ -75,6 +75,7 @@ struct ogg_stream {
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
int keyframe_seek;
+ int page_begin; ///< set to 1 if the stream only received a begin-of-stream packet, otherwise 0
void *private;
};