[Ffmpeg-cvslog] CVS: ffmpeg/libavformat ogg2.c,1.7,1.8

Måns Rullgård CVS mru
Thu May 19 23:03:06 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv8731/libavformat

Modified Files:
	ogg2.c 
Log Message:
don't try to find file length if streaming


Index: ogg2.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/ogg2.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ogg2.c	19 May 2005 00:06:27 -0000	1.7
+++ ogg2.c	19 May 2005 21:03:03 -0000	1.8
@@ -450,9 +450,9 @@
 {
     ogg_t *ogg = s->priv_data;
     int idx = -1, i;
-//FIXME: get the right ctx flag to know if is seekable or not
-//    if(ogg->f->flags & URL_FLAG_STREAMED)
-//  return 0;
+
+    if(s->pb.is_streamed)
+        return 0;
 
 // already set
     if (s->duration != AV_NOPTS_VALUE)





More information about the ffmpeg-cvslog mailing list