Commit 5c60efa2 authored by Anne Heimes's avatar Anne Heimes

bugfix

parent a4a9fd6d
......@@ -26,7 +26,7 @@ double g_dPlaybackDuration = 10 ; // seconds
int main( int argc, char* argv[] )
{
if( argc >= 8 )
if( argc >= 9 )
{
g_sServerName = argv[ 1 ];
......@@ -41,8 +41,8 @@ int main( int argc, char* argv[] )
g_iSendingBlockLength = atoi(argv[8]);
}
if( argc >= 9 )
g_dPlaybackDuration = strtod( argv[ 8 ], NULL );;
if( argc >= 10 )
g_dPlaybackDuration = strtod( argv[ 9 ], NULL );;
}
else
{
......
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