Corrected bug which made every track from file an audio track
This commit is contained in:
parent
ece61a1860
commit
447d2365c7
@ -939,10 +939,10 @@ int Cdrtrack_extract_audio(struct CdrtracK *track, int *fd, off_t *xtr_size,
|
|||||||
return(0);
|
return(0);
|
||||||
l= strlen(track->source_path);
|
l= strlen(track->source_path);
|
||||||
if(l>=4)
|
if(l>=4)
|
||||||
if(strcmp(track->source_path+l-4,".wav")!=0)
|
if(strcmp(track->source_path+l-4,".wav")==0)
|
||||||
ok= 1;
|
ok= 1;
|
||||||
if(l>=3)
|
if(l>=3)
|
||||||
if(strcmp(track->source_path+l-3,".au")!=0)
|
if(strcmp(track->source_path+l-3,".au")==0)
|
||||||
ok= 1;
|
ok= 1;
|
||||||
if(!ok)
|
if(!ok)
|
||||||
return(0);
|
return(0);
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2006.10.28.115213"
|
#define Cdrskin_timestamP "2006.10.28.151521"
|
||||||
|
Loading…
Reference in New Issue
Block a user