header_check_ape: remove dead code
This commit is contained in:
parent
134ce684e2
commit
17040353bc
1 changed files with 10 additions and 14 deletions
|
@ -122,8 +122,6 @@ static int header_check_ape(const unsigned char *buffer, const unsigned int buff
|
||||||
file_recovery_new->extension=file_hint_ape.extension;
|
file_recovery_new->extension=file_hint_ape.extension;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
if(le16(ape->nChannels)<1 || le16(ape->nChannels)>2)
|
if(le16(ape->nChannels)<1 || le16(ape->nChannels)>2)
|
||||||
return 0;
|
return 0;
|
||||||
if(le32(ape->nSampleRate)==0)
|
if(le32(ape->nSampleRate)==0)
|
||||||
|
@ -134,8 +132,6 @@ static int header_check_ape(const unsigned char *buffer, const unsigned int buff
|
||||||
file_recovery_new->extension=file_hint_ape.extension;
|
file_recovery_new->extension=file_hint_ape.extension;
|
||||||
/* 4 + le32(ape->nHeaderBytes) + le32(ape->nTerminatingDataBytes) ? */
|
/* 4 + le32(ape->nHeaderBytes) + le32(ape->nTerminatingDataBytes) ? */
|
||||||
return 1;
|
return 1;
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void register_header_check_ape(file_stat_t *file_stat)
|
static void register_header_check_ape(file_stat_t *file_stat)
|
||||||
|
|
Loading…
Reference in a new issue