Commit ae94d030 authored by Cyril Deguet's avatar Cyril Deguet

* filereader.cpp: open the file in 'rb' mode instead of 'r' because Windows

   is so stupid. Thanks Bill for these 6 debugging hours :(
parent cfac1213
......@@ -2,7 +2,7 @@
* filereader.cpp: file reader
*-------------------------------------------------------------------------------
* (c)1999-2001 VideoLAN
* $Id: filereader.cpp,v 1.2 2001/11/29 16:11:42 bozo Exp $
* $Id: filereader.cpp,v 1.3 2002/04/26 15:42:29 asmax Exp $
*
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
*
......@@ -91,7 +91,7 @@ C_FileMpegReader::C_FileMpegReader(C_Module* pModule,
//------------------------------------------------------------------------------
void C_FileMpegReader::Init()
{
m_cFile.Open("r");
m_cFile.Open("rb");
}
......
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