From 32b177638e9d680faec95104e1e456bf164a30e4 Mon Sep 17 00:00:00 2001 From: rocky Date: Tue, 18 Jan 2005 03:27:58 +0000 Subject: [PATCH] gcc < 3.0 compilation fix. --- test/testparanoia.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/testparanoia.c b/test/testparanoia.c index fd348790..0d18cd16 100644 --- a/test/testparanoia.c +++ b/test/testparanoia.c @@ -119,9 +119,10 @@ main(int argc, const char *argv[]) i++, i_lsn++ ) { /* read a sector */ 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_mes=cdda_messages(d); + + memcpy(audio_buf[i], p_readbuf, CDIO_CD_FRAMESIZE_RAW); if (psz_mes || psz_err) printf("%s%s\n", psz_mes ? psz_mes: "", psz_err ? psz_err: "");