Hopefully fixed problem with stdin as audio source

trunk@386
Thomas Schmitt 16 years ago
parent fdfc4ebf36
commit e326e9aac9
  1. 3
      libburn/libdax_audioxtr.c

@ -158,6 +158,9 @@ static int libdax_audioxtr_init_reading(struct libdax_audioxtr *o, int flag)
int ret;
/* currently this only works for MS WAVE files .wav */;
if(o->fd==0) /* stdin: hope no read came after libdax_audioxtr_identify() */
return(1);
ret= lseek(o->fd,44,SEEK_SET);
if(ret==-1)
return(0);

Loading…
Cancel
Save