- comment out EVS parser errors to standard error output
This commit is contained in:
parent
7510ff5697
commit
93bf339f00
|
|
@ -1467,7 +1467,7 @@ Word16 read_indices_mime( /* o : 1 = reading OK, 0 = problem
|
||||||
if( total_brate < 0 )
|
if( total_brate < 0 )
|
||||||
{
|
{
|
||||||
/* validate that total_brate (derived from RTP packet or a file header) is one of the defined bit rates */
|
/* validate that total_brate (derived from RTP packet or a file header) is one of the defined bit rates */
|
||||||
fprintf(stderr, "\n Error illegal total bit rate (= %d) in MIME ToC header \n", total_brate );
|
//fprintf(stderr, "\n Error illegal total bit rate (= %d) in MIME ToC header \n", total_brate );
|
||||||
num_bits = -1;
|
num_bits = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1478,14 +1478,14 @@ Word16 read_indices_mime( /* o : 1 = reading OK, 0 = problem
|
||||||
if ( (isAMRWB_IOmode == 0) && ((num_bits < 0) || ((header & 0x80) > 0) || ((header & 0x40) > 0) || (header & 0x30) != 0x00 ) )
|
if ( (isAMRWB_IOmode == 0) && ((num_bits < 0) || ((header & 0x80) > 0) || ((header & 0x40) > 0) || (header & 0x30) != 0x00 ) )
|
||||||
{
|
{
|
||||||
/* incorrect FT header */
|
/* incorrect FT header */
|
||||||
fprintf(stderr, "\nError in EVS FT ToC header(%02x) ! ",header);
|
// fprintf(stderr, "\nError in EVS FT ToC header(%02x) ! ",header);
|
||||||
return 0;
|
return 0;
|
||||||
// exit(-1);
|
// exit(-1);
|
||||||
}
|
}
|
||||||
else if( (isAMRWB_IOmode != 0) && ( (num_bits < 0) || ((header & 0x80) > 0) || ((header & 0x40) > 0) ) ) /* AMRWBIO */
|
else if( (isAMRWB_IOmode != 0) && ( (num_bits < 0) || ((header & 0x80) > 0) || ((header & 0x40) > 0) ) ) /* AMRWBIO */
|
||||||
{
|
{
|
||||||
/* incorrect IO FT header */
|
/* incorrect IO FT header */
|
||||||
fprintf(stderr, "\nError in EVS(AMRWBIO) FT ToC header(%02x) ! ",header);
|
// fprintf(stderr, "\nError in EVS(AMRWBIO) FT ToC header(%02x) ! ",header);
|
||||||
return 0;
|
return 0;
|
||||||
//exit(-1);
|
//exit(-1);
|
||||||
}
|
}
|
||||||
|
|
@ -1496,13 +1496,11 @@ Word16 read_indices_mime( /* o : 1 = reading OK, 0 = problem
|
||||||
if ( num_bits < 0 )
|
if ( num_bits < 0 )
|
||||||
{
|
{
|
||||||
/* incorrect FT header */
|
/* incorrect FT header */
|
||||||
fprintf(stderr, "\nError in AMRWB RFC4867 Toc(FT) header(%02x) !", header);
|
// fprintf(stderr, "\nError in AMRWB RFC4867 Toc(FT) header(%02x) !", header);
|
||||||
return 0;//exit(-1);
|
return 0;//exit(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* read serial stream of indices from file to the local buffer */
|
/* read serial stream of indices from file to the local buffer */
|
||||||
num_bytes_read = (num_bits + 7) >> 3;
|
num_bytes_read = (num_bits + 7) >> 3;
|
||||||
if (*data_processed + num_bytes_read > data_size)
|
if (*data_processed + num_bytes_read > data_size)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue