Commit 5bda1e95 authored by Damien Lucas's avatar Damien Lucas

parser: fixed typos

parent a9c8fda7
......@@ -2,7 +2,7 @@
* parsers.cpp: Command line and configuration files parsers
*-------------------------------------------------------------------------------
* (c)1999-2001 VideoLAN
* $Id: parsers.cpp,v 1.12 2003/01/04 15:37:39 nitrox Exp $
* $Id: parsers.cpp,v 1.13 2003/02/03 11:53:51 nitrox Exp $
*
* Authors: Benoit Steiner <benny@via.ecp.fr>
* Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
......@@ -318,12 +318,12 @@ void C_CfgFileParser::AddCmdLineSetting(unsigned char sOption, C_String sValue)
if(sDest1.ToInt()<=239 && sDest1.ToInt()>=234)
m_pCallBack->OnProperty("Type", "multicast");
if(sMeth=="udp") m_pCallBack->OnProperty("Protocol", "udp");
else m_pCallBack->OnProperty("Protocol", "rtp");
else m_pCallBack->OnProperty("Protocol", "rtp");
m_pCallBack->OnEndSection("output1");
}
else if (sMeth=="file")
{
if(sDest1=="") throw E_Parser(GEN_ERR, "No Filname specified");
if(sDest1=="") throw E_Parser(GEN_ERR, "No Filename specified");
m_pCallBack->OnStartSection("Channels");
m_pCallBack->OnProperty("output1", "file");
m_pCallBack->OnEndSection("Channels");
......
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