Commit fb1b3cf4 authored by Johan Bilien's avatar Johan Bilien

* ALL: some FreeBSD compilation fixes. gnome plugin still won't compile,

           at least on FreeBSD 5.0
parent f716766a
......@@ -2,7 +2,7 @@
* cdrom.c: cdrom tools
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* $Id: cdrom.c,v 1.6 2002/12/02 18:19:43 sam Exp $
* $Id: cdrom.c,v 1.7 2003/01/27 21:35:06 jobi Exp $
*
* Authors: Johan Bilien <jobi@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
......@@ -438,7 +438,7 @@ int ioctl_GetTracksMap( vlc_object_t *p_this, const vcddev_t *p_vcddev,
struct ioc_toc_header tochdr;
struct ioc_read_toc_entry toc_entries;
if( ioctl( p_vcddev->i_devicd_handle, CDIOREADTOCHEADER, &tochdr )
if( ioctl( p_vcddev->i_device_handle, CDIOREADTOCHEADER, &tochdr )
== -1 )
{
msg_Err( p_this, "could not read TOCHDR" );
......
......@@ -2,7 +2,7 @@
* oss.c : OSS /dev/dsp module for vlc
*****************************************************************************
* Copyright (C) 2000-2002 VideoLAN
* $Id: oss.c,v 1.46 2003/01/20 10:59:29 massiot Exp $
* $Id: oss.c,v 1.47 2003/01/27 21:35:06 jobi Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
......@@ -57,7 +57,9 @@
#ifndef AFMT_AC3
# define AFMT_AC3 0x00000400 /* Dolby Digital AC3 */
#endif
#ifndef AFMT_S16_NE
# define AFMT_S16_NE 0x00000010
#endif
/*****************************************************************************
* aout_sys_t: OSS audio output method descriptor
*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment