[FFmpeg-cvslog] r13412 - trunk/libavformat/ffm.c

bcoudurier subversion
Mon May 26 05:37:01 CEST 2008


Author: bcoudurier
Date: Mon May 26 05:37:01 2008
New Revision: 13412

Log:
reenable test, data is available in this case

Modified:
   trunk/libavformat/ffm.c

Modified: trunk/libavformat/ffm.c
==============================================================================
--- trunk/libavformat/ffm.c	(original)
+++ trunk/libavformat/ffm.c	Mon May 26 05:37:01 2008
@@ -296,11 +296,8 @@ static int ffm_is_avail_data(AVFormatCon
     int len;
 
     len = ffm->packet_end - ffm->packet_ptr;
-    if (!ffm_nopts) {
-        /* XXX: I don't understand this test, so I disabled it for testing */
-        if (size <= len)
-            return 1;
-    }
+    if (size <= len)
+        return 1;
     pos = url_ftell(s->pb);
     if (pos == ffm->write_index) {
         /* exactly at the end of stream */




More information about the ffmpeg-cvslog mailing list