|
|
@ -166,11 +166,11 @@ int StreamInfo::ReadStreamInfo ( MPC_reader* fp)
|
|
|
|
if ( fp->read ( HeaderData, 8*4 ) != 8*4 )
|
|
|
|
if ( fp->read ( HeaderData, 8*4 ) != 8*4 )
|
|
|
|
return ERROR_CODE_FILE;
|
|
|
|
return ERROR_CODE_FILE;
|
|
|
|
if (!fp->seek(simple.HeaderPosition+6*4,SEEK_SET)) return ERROR_CODE_FILE;
|
|
|
|
if (!fp->seek(simple.HeaderPosition+6*4,SEEK_SET)) return ERROR_CODE_FILE;
|
|
|
|
|
|
|
|
/*
|
|
|
|
/* if ( fp->read ( HeaderData, 6*4 ) != 6*4 )
|
|
|
|
if ( fp->read ( HeaderData, 6*4 ) != 6*4 )
|
|
|
|
return ERROR_CODE_FILE;
|
|
|
|
return ERROR_CODE_FILE;
|
|
|
|
HeaderData[6]=HeaderData[7]=0;
|
|
|
|
HeaderData[6]=HeaderData[7]=0;
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
if ( fp->seek ( 0L, SEEK_END ) != 0 ) // get filelength
|
|
|
|
if ( fp->seek ( 0L, SEEK_END ) != 0 ) // get filelength
|
|
|
|
return ERROR_CODE_FILE;
|
|
|
|
return ERROR_CODE_FILE;
|
|
|
|