Commit ce606b90 authored by Damien Lucas's avatar Damien Lucas

. fixed a stupid typo in the commandline parsing when guessing the file format

parent 08c0957f
......@@ -2,7 +2,7 @@
* parsers.cpp: Command line and configuration files parsers
*-------------------------------------------------------------------------------
* (c)1999-2001 VideoLAN
* $Id: parsers.cpp,v 1.21 2003/08/19 21:31:41 nitrox Exp $
* $Id: parsers.cpp,v 1.22 2003/08/23 12:33:05 nitrox Exp $
*
* Authors: Benoit Steiner <benny@via.ecp.fr>
* Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
......@@ -445,8 +445,8 @@ void C_CfgFileParser::AddCmdLineTarget(C_String sTarget, C_String sTags)
if(bFormat==0x47) m_pCallBack->OnProperty("type", "mpeg2-ts");
fFile.Seek((s64)(4+1), SEEK_CUR);
fFile.Read(&bFormat, (s64) 1);
if(bFormat==0x01) m_pCallBack->OnProperty("Type", "mpeg1-ps");
else if(bFormat==0x04) m_pCallBack->OnProperty("Type", "mpeg2-ps");
if(bFormat==0x01) m_pCallBack->OnProperty("type", "mpeg1-ps");
else if(bFormat==0x04) m_pCallBack->OnProperty("type", "mpeg2-ps");
fFile.Close();
sProgramLaunch = "program1";
m_pCallBack->OnEndSection("input1.1");
......
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