]> git.sesse.net Git - vlc/blobdiff - modules/demux/oggseek.h
Remove "pcm " pseudo-codec, synonymous with "araw"
[vlc] / modules / demux / oggseek.h
index b9a434891db5b7ce8e54ca66e1d9c9b35776264a..88d22fae74ae205dadb3c919c11fe3c6e2140855 100644 (file)
@@ -7,19 +7,19 @@
  * adapted from: http://lives.svn.sourceforge.net/viewvc/lives/trunk/lives-plugins
  * /plugins/decoders/ogg_theora_decoder.c
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /*****************************************************************************
@@ -49,8 +49,9 @@ struct oggseek_index_entry
     int64_t i_pagepos_end;
 };
 
-
-
+const demux_index_entry_t *oggseek_theora_index_entry_add ( logical_stream_t *,
+                                                            int64_t i_granule,
+                                                            int64_t i_pagepos );
 
 void oggseek_index_entries_free ( demux_index_entry_t * );
 
@@ -58,3 +59,4 @@ int64_t oggseek_get_last_frame ( demux_t *, logical_stream_t *);
 
 int oggseek_find_frame ( demux_t *, logical_stream_t *, int64_t i_tframe );
 
+int64_t oggseek_read_page ( demux_t * );