Commit ad80510e authored by Christophe Massiot's avatar Christophe Massiot

* dvblast.c: Check if a config file has been given.

parent 05f87187
......@@ -70,6 +70,12 @@ static void ReadConfiguration( char *psz_file )
char psz_line[2048];
int i;
if ( psz_file == NULL )
{
msg_Err( NULL, "no config file" );
return;
}
if ( (p_file = fopen( psz_file, "r" )) == NULL )
{
msg_Err( NULL, "can't fopen config file %s", psz_file );
......@@ -334,7 +340,7 @@ int main( int i_argc, char **pp_argv )
}
}
if ( b_output_udp )
if ( b_output_udp )
{
msg_Warn( NULL, "raw UDP output is deprecated. Please consider using RTP." );
msg_Warn( NULL, "for DVB-IP compliance you should use RTP." );
......
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