summaryrefslogtreecommitdiffstats
path: root/stream/vcd_read.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-13 18:00:51 +0200
committerwm4 <wm4@nowhere>2014-04-13 18:03:01 +0200
commit78128bddda4bcea1f256fc13cc33fa2652ed277c (patch)
tree35bf6596cb8e2d7927618845833c3ee36534f890 /stream/vcd_read.h
parent44f382cf98564c0fe08bdc78579c284362cd6f3c (diff)
downloadmpv-78128bddda4bcea1f256fc13cc33fa2652ed277c.tar.bz2
mpv-78128bddda4bcea1f256fc13cc33fa2652ed277c.tar.xz
Kill all tabs
I hate tabs. This replaces all tabs in all source files with spaces. The only exception is old-makefile. The replacement was made by running the GNU coreutils "expand" command on every file. Since the replacement was automatic, it's possible that some formatting was destroyed (but perhaps only if it was assuming that the end of a tab does not correspond to aligning the end to multiples of 8 spaces).
Diffstat (limited to 'stream/vcd_read.h')
-rw-r--r--stream/vcd_read.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/stream/vcd_read.h b/stream/vcd_read.h
index 07b8802a0f..ccb176ff97 100644
--- a/stream/vcd_read.h
+++ b/stream/vcd_read.h
@@ -100,8 +100,8 @@ static mp_vcd_priv_t* vcd_read_toc(stream_t *stream, int fd){
tocentry.cdte_format = CDROM_MSF;
if (ioctl(fd,CDROMREADTOCENTRY,&tocentry)==-1) {
- MP_ERR(stream, "read CDROM toc entry: %s\n",strerror(errno));
- return NULL;
+ MP_ERR(stream, "read CDROM toc entry: %s\n",strerror(errno));
+ return NULL;
}
if (i<=tochdr.cdth_trk1)
@@ -155,10 +155,10 @@ static int vcd_read(mp_vcd_priv_t* vcd,char *mem){
#include <sys/scsi/generic/commands.h>
#include <sys/scsi/impl/uscsi.h>
-#define SUN_XAREAD 1 /*fails on atapi drives*/
-#define SUN_MODE2READ 2 /*fails on atapi drives*/
-#define SUN_SCSIREAD 3
-#define SUN_VCDREAD SUN_SCSIREAD
+#define SUN_XAREAD 1 /*fails on atapi drives*/
+#define SUN_MODE2READ 2 /*fails on atapi drives*/
+#define SUN_SCSIREAD 3
+#define SUN_VCDREAD SUN_SCSIREAD
static int sun_vcd_read(mp_vcd_priv_t* vcd, int *offset)
{
@@ -220,6 +220,6 @@ static int sun_vcd_read(mp_vcd_priv_t* vcd, int *offset)
#error SUN_VCDREAD
#endif
}
-#endif /*sun*/
+#endif /*sun*/
#endif /* MPLAYER_VCD_READ_H */