[MPlayer-cvslog] r18847 - trunk/libmpdemux/demux_lavf.c

pacman subversion at mplayerhq.hu
Wed Jun 28 21:27:04 CEST 2006


Author: pacman
Date: Wed Jun 28 21:27:04 2006
New Revision: 18847

Modified:
   trunk/libmpdemux/demux_lavf.c

Log:
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.


Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	(original)
+++ trunk/libmpdemux/demux_lavf.c	Wed Jun 28 21:27:04 2006
@@ -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;
         



More information about the MPlayer-cvslog mailing list