See attached one-liner, which seems to fix the problem. cdda_read_timed() is 
called with a NULL pointer, but if you don't supply a buffer you obviously 
shouldn't perform any cosmetics on the content afterwards...

cheers

Uli
--- cdparanoia-3.10.2+debian/interface/interface.c	2008-09-11 12:43:52.000000000 +0200
+++ interface/interface.c	2008-12-26 13:33:31.000000000 +0100
@@ -118,7 +118,7 @@ long cdda_read_timed(cdrom_drive *d, voi
 	if(d->bigendianp==-1) /* not determined yet */
 	  d->bigendianp=data_bigendianp(d);
 	
-	if(d->bigendianp!=bigendianp()){
+	if(buffer && d->bigendianp!=bigendianp()){
 	  int i;
 	  u_int16_t *p=(u_int16_t *)buffer;
 	  long els=sectors*CD_FRAMESIZE_RAW/2;

Reply via email to