[Mplayer-cvslog] CVS: main/libmpdemux demux_ogg.c,1.30,1.31

Alex Beregszaszi alex at mplayerhq.hu
Mon Aug 18 15:14:13 CEST 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv30297/libmpdemux

Modified Files:
	demux_ogg.c 
Log Message:
Theora-CVS update patch by Martin Drab <drab at kepler.fjfi.cvut.cz>

Index: demux_ogg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ogg.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- demux_ogg.c	14 Aug 2003 12:15:43 -0000	1.30
+++ demux_ogg.c	18 Aug 2003 13:13:26 -0000	1.31
@@ -50,6 +50,7 @@
 #ifdef HAVE_OGGTHEORA
 typedef struct theora_struct_st {
     theora_state st;
+    theora_comment cc;
     theora_info inf;
 } theora_struct_t;
 #endif
@@ -633,7 +634,12 @@
     } else if (pack.bytes >= 7 && !strncmp (&pack.packet[1], "theora", 6)) {
 	int errorCode = 0;
 	theora_info inf;
-	errorCode = theora_decode_header (&inf, &pack);
+	theora_comment cc;
+	
+	theora_info_init (&inf);
+	theora_comment_init (&cc);
+	
+	errorCode = theora_decode_header (&inf, &cc, &pack);
 	if (errorCode)
 	    mp_msg(MSGT_DEMUX,MSGL_ERR,"Theora header parsing failed: %i \n",
 		   errorCode);



More information about the MPlayer-cvslog mailing list