From 73823cb941ee30a91703c50bfcf12d353a00a6de Mon Sep 17 00:00:00 2001 From: David Conrad Date: Thu, 11 Mar 2010 07:17:24 +0000 Subject: oggdec: Save offset of the page needed to reconstruct the current packet Originally committed as revision 22453 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/oggdec.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/oggdec.h') diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h index b0a23e2516..425d7a291e 100644 --- a/libavformat/oggdec.h +++ b/libavformat/oggdec.h @@ -66,6 +66,8 @@ struct ogg_stream { uint64_t granule; int64_t lastpts; int64_t lastdts; + int64_t sync_pos; ///< file offset of the first page needed to reconstruct the current packet + int64_t page_pos; ///< file offset of the current page int flags; const struct ogg_codec *codec; int header; -- cgit v1.2.3