gcc < 3.0 compilation fix.
This commit is contained in:
@@ -119,10 +119,11 @@ main(int argc, const char *argv[])
|
|||||||
i++, i_lsn++ ) {
|
i++, i_lsn++ ) {
|
||||||
/* read a sector */
|
/* read a sector */
|
||||||
int16_t *p_readbuf = paranoia_read(p, callback);
|
int16_t *p_readbuf = paranoia_read(p, callback);
|
||||||
memcpy(audio_buf[i], p_readbuf, CDIO_CD_FRAMESIZE_RAW);
|
|
||||||
char *psz_err=cdda_errors(d);
|
char *psz_err=cdda_errors(d);
|
||||||
char *psz_mes=cdda_messages(d);
|
char *psz_mes=cdda_messages(d);
|
||||||
|
|
||||||
|
memcpy(audio_buf[i], p_readbuf, CDIO_CD_FRAMESIZE_RAW);
|
||||||
|
|
||||||
if (psz_mes || psz_err)
|
if (psz_mes || psz_err)
|
||||||
printf("%s%s\n", psz_mes ? psz_mes: "", psz_err ? psz_err: "");
|
printf("%s%s\n", psz_mes ? psz_mes: "", psz_err ? psz_err: "");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user