diff ogg.c @ 726:17178af951b4 libavformat

Ogg demuxer ported from tcvp by Luca Barbato <lu_zero at gentoo dot org>, fixups by me.
author mru
date Sat, 09 Apr 2005 15:32:58 +0000
parents 0b52743104ac
children feca73904e67
line wrap: on
line diff
--- a/ogg.c	Sun Apr 03 05:02:08 2005 +0000
+++ b/ogg.c	Sat Apr 09 15:32:58 2005 +0000
@@ -134,7 +134,7 @@
 } ;
 #endif //CONFIG_ENCODERS
 
-
+#if 0
 static int next_packet(AVFormatContext *avfcontext, ogg_packet *op) {
     OggContext *context = avfcontext->priv_data ;
     ogg_page og ;
@@ -247,12 +247,12 @@
     ogg_read_close,
     .extensions = "ogg",
 } ;
-
+#endif
 
-int ogg_init(void) {
+int libogg_init(void) {
 #ifdef CONFIG_ENCODERS
     av_register_output_format(&ogg_oformat) ;
 #endif
-    av_register_input_format(&ogg_iformat);
+/*     av_register_input_format(&ogg_iformat); */
     return 0 ;
 }