diff options
author | Måns Rullgård <mans@mansr.com> | 2005-05-11 16:38:34 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2005-05-11 16:38:34 +0000 |
commit | 1ed923eab332bf55fd18603ed7b66432142ded67 (patch) | |
tree | 6ca0084c7625928f7b095cee8e78a9ae4d2c6f19 /libavformat/ogg2.h | |
parent | ef56de328ffc990ee0b411f1ff3d86a25d7d1b98 (diff) | |
download | ffmpeg-1ed923eab332bf55fd18603ed7b66432142ded67.tar.gz |
support theora in ogg, plus required ogg core changes
Originally committed as revision 4217 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ogg2.h')
-rw-r--r-- | libavformat/ogg2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/ogg2.h b/libavformat/ogg2.h index f397a57197..416a504274 100644 --- a/libavformat/ogg2.h +++ b/libavformat/ogg2.h @@ -33,6 +33,7 @@ typedef struct ogg_codec { int8_t *name; int (*header)(AVFormatContext *, int); int (*packet)(AVFormatContext *, int); + uint64_t (*gptopts)(AVFormatContext *, int, uint64_t); } ogg_codec_t; typedef struct ogg_stream { @@ -49,6 +50,7 @@ typedef struct ogg_stream { int header; int nsegs, segp; uint8_t segments[255]; + void *private; } ogg_stream_t; typedef struct ogg_state { @@ -72,6 +74,7 @@ typedef struct ogg { #define OGG_FLAG_EOS 4 extern ogg_codec_t vorbis_codec; +extern ogg_codec_t theora_codec; #if 0 extern ogg_codec_t ogm_video_codec; extern ogg_codec_t ogm_audio_codec; |