[MPlayer-cvslog] r37571 - in branches/1.2: . stream/stream_vcd.c

ib subversion at mplayerhq.hu
Tue Dec 29 19:21:40 CET 2015


Author: ib
Date: Tue Dec 29 19:21:40 2015
New Revision: 37571

Log:
Merge r37570 from trunk:

Fix build regression on FreeBSD.

Modified:
   branches/1.2/   (props changed)
   branches/1.2/stream/stream_vcd.c

Modified: branches/1.2/stream/stream_vcd.c
==============================================================================
--- branches/1.2/stream/stream_vcd.c	Tue Dec 29 19:19:34 2015	(r37570)
+++ branches/1.2/stream/stream_vcd.c	Tue Dec 29 19:21:40 2015	(r37571)
@@ -137,7 +137,7 @@ static int open_s(stream_t *stream,int m
   struct stream_priv_s* p = opts;
   int ret,ret2,f,sect,tmp;
   mp_vcd_priv_t* vcd;
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !defined(CONFIG_LIBCDIO)
   int bsize = VCD_SECTOR_SIZE;
 #endif
 #if defined(__MINGW32__) || defined(__CYGWIN__)
@@ -248,7 +248,7 @@ static int open_s(stream_t *stream,int m
 
   mp_msg(MSGT_OPEN,MSGL_V,"VCD start byte position: 0x%X  end: 0x%X\n",ret,ret2);
 
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !defined(CONFIG_LIBCDIO)
   if (ioctl (f, CDRIOCSETBLOCKSIZE, &bsize) == -1) {
     mp_msg(MSGT_OPEN,MSGL_WARN,"Error in CDRIOCSETBLOCKSIZE");
   }


More information about the MPlayer-cvslog mailing list