diff options
author | David Conrad <lessen42@gmail.com> | 2010-03-11 07:17:24 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-03-11 07:17:24 +0000 |
commit | 73823cb941ee30a91703c50bfcf12d353a00a6de (patch) | |
tree | ae39602a80871779b8dfa6e6286e453d86bcaf67 /libavformat/oggdec.h | |
parent | d38c9e7a919694c27183887687fc7fec33fff4ac (diff) | |
download | ffmpeg-73823cb941ee30a91703c50bfcf12d353a00a6de.tar.gz |
oggdec: Save offset of the page needed to reconstruct the current packet
Originally committed as revision 22453 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggdec.h')
-rw-r--r-- | libavformat/oggdec.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |