diff ogg2.h @ 755:27449ee55201 libavformat

support theora in ogg, plus required ogg core changes
author mru
date Wed, 11 May 2005 16:38:34 +0000
parents a827309802b5
children 677bad57fca2
line wrap: on
line diff
--- a/ogg2.h	Mon May 09 13:24:23 2005 +0000
+++ b/ogg2.h	Wed May 11 16:38:34 2005 +0000
@@ -33,6 +33,7 @@
     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 @@
     int header;
     int nsegs, segp;
     uint8_t segments[255];
+    void *private;
 } ogg_stream_t;
 
 typedef struct ogg_state {
@@ -72,6 +74,7 @@
 #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;