changeset 10622:085c10cf912c

fixes http://pot.lsd.ro/video.asf (bug reported by dragos <iocatretine@yahoo.com> @ -users)
author arpi
date Fri, 15 Aug 2003 16:36:32 +0000
parents 9f4af7d95d87
children abdb28a904c8
files libmpdemux/demux_asf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_asf.c	Fri Aug 15 15:25:55 2003 +0000
+++ b/libmpdemux/demux_asf.c	Fri Aug 15 16:36:32 2003 +0000
@@ -144,7 +144,7 @@
   demux->filepos=stream_tell(demux->stream);
   // Brodcast stream have movi_start==movi_end
   // Better test ?
-  if((demux->movi_start != demux->movi_end) && (demux->filepos>=demux->movi_end)){
+  if((demux->movi_start < demux->movi_end) && (demux->filepos>=demux->movi_end)){
           demux->stream->eof=1;
           return 0;
   }