changeset 18843:df3924884fd0

Remove bogus stream_eof() test - av_read_frame() has its own buffer and can still return usable data after the underlying stream_t has EOF'ed.
author pacman
date Wed, 28 Jun 2006 19:27:04 +0000
parents 518282cbf238
children 34c72283d8bf
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Wed Jun 28 19:22:27 2006 +0000
+++ b/libmpdemux/demux_lavf.c	Wed Jun 28 19:27:04 2006 +0000
@@ -339,11 +339,6 @@
 
     demux->filepos=stream_tell(demux->stream);
 
-    if(stream_eof(demux->stream)){
-//        demuxre->stream->eof=1;
-        return 0;
-    }
-
     if(av_read_frame(priv->avfc, &pkt) < 0)
         return 0;