Commit aafd36f3 authored by Andrew de Quincey's avatar Andrew de Quincey

In a moment of madness, I'd made the code return iRc==0 at the end of

a stream. This was wrong, so I've removed it
parent 09e2072e
......@@ -2,7 +2,7 @@
* filereader.cpp: file reader
*-------------------------------------------------------------------------------
* (c)1999-2001 VideoLAN
* $Id: filereader.cpp,v 1.11 2003/08/19 21:31:42 nitrox Exp $
* $Id: filereader.cpp,v 1.12 2003/08/20 14:45:47 adq Exp $
*
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
*
......@@ -127,7 +127,6 @@ s64 C_FileMpegReader::Read(byte* pBuff, s64 iSize)
// check for end of stream
if ((iRc == FILE_EOF) || (iRc != iSize)) {
m_bEndOfStream = true;
iRc = 0;
}
return iRc;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment