changeset 3347:a6449316fad1 libavformat

reenable test, data is available in this case
author bcoudurier
date Mon, 26 May 2008 03:37:01 +0000
parents 4d7210fc23a5
children 4d492fccf79b
files ffm.c
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ffm.c	Mon May 26 00:45:02 2008 +0000
+++ b/ffm.c	Mon May 26 03:37:01 2008 +0000
@@ -296,11 +296,8 @@
     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 */