[MPlayer-cvslog] r31325 - trunk/libmpdemux/demux_lavf.c
reimar
subversion at mplayerhq.hu
Sat Jun 5 18:12:36 CEST 2010
Author: reimar
Date: Sat Jun 5 18:12:36 2010
New Revision: 31325
Log:
Remove explicit eof check for mp_read code, stream code handles this case
better, e.g. properly supporting growing files.
Modified:
trunk/libmpdemux/demux_lavf.c
Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c Sat Jun 5 18:00:49 2010 (r31324)
+++ trunk/libmpdemux/demux_lavf.c Sat Jun 5 18:12:36 2010 (r31325)
@@ -87,8 +87,6 @@ static int mp_read(void *opaque, uint8_t
stream_t *stream = demuxer->stream;
int ret;
- if(stream_eof(stream)) //needed?
- return -1;
ret=stream_read(stream, buf, size);
mp_msg(MSGT_HEADER,MSGL_DBG2,"%d=mp_read(%p, %p, %d), eof:%d\n", ret, stream, buf, size, stream->eof);
More information about the MPlayer-cvslog
mailing list