Blame SOURCES/cdparanoia-10.2-endian.patch

3e3291
diff -up cdparanoia-III-10.2/interface/interface.c.jx cdparanoia-III-10.2/interface/interface.c
3e3291
--- cdparanoia-III-10.2/interface/interface.c.jx	2009-02-10 14:25:02.000000000 -0500
3e3291
+++ cdparanoia-III-10.2/interface/interface.c	2009-02-10 14:25:49.000000000 -0500
3e3291
@@ -115,7 +115,7 @@ long cdda_read_timed(cdrom_drive *d, voi
3e3291
 
3e3291
       if(sectors>0){
3e3291
 	/* byteswap? */
3e3291
-	if(d->bigendianp==-1) /* not determined yet */
3e3291
+	if(buffer && d->bigendianp==-1) /* not determined yet */
3e3291
 	  d->bigendianp=data_bigendianp(d);
3e3291
 	
3e3291
 	if(d->bigendianp!=bigendianp()){