Commit 41306ad7 authored by Alexis de Lattre's avatar Alexis de Lattre

modules/misc/sap.c: fix for the default scope of the IPv6 announces.

python/setup.py: a configuration that should work better.
parent 59b5fa56
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* sap.c : SAP interface module * sap.c : SAP interface module
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: sap.c,v 1.14 2003/06/18 12:18:51 zorglub Exp $ * $Id: sap.c,v 1.15 2003/06/20 11:42:07 alexis Exp $
* *
* Authors: Arnaud Schauly <gitan@via.ecp.fr> * Authors: Arnaud Schauly <gitan@via.ecp.fr>
* *
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
*****************************************************************************/ *****************************************************************************/
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
#include <string.h> #include <string.h>
#include <errno.h> /* ENOMEM */ #include <errno.h> /* ENOMEM */
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
# include <net/netdb.h> # include <net/netdb.h>
# endif # endif
#endif #endif
#ifdef UNDER_CE #ifdef UNDER_CE
# define close(a) CloseHandle(a); # define close(a) CloseHandle(a);
#elif defined( WIN32 ) #elif defined( WIN32 )
...@@ -151,9 +151,9 @@ vlc_module_begin(); ...@@ -151,9 +151,9 @@ vlc_module_begin();
"Set this if you want SAP to listen for IPv6 announces", "Set this if you want SAP to listen for IPv6 announces",
VLC_TRUE); VLC_TRUE);
add_string( "sap-ipv6-scope", "3" , NULL, add_string( "sap-ipv6-scope", "8" , NULL,
"IPv6-SAP scope", "IPv6-SAP scope",
"Sets the scope for IPv6 announces (default is 3)", "Sets the scope for IPv6 announces (default is 8)",
VLC_TRUE); VLC_TRUE);
set_description( _("SAP interface") ); set_description( _("SAP interface") );
......
from distutils.core import setup, Extension from distutils.core import setup, Extension
FFMPEG_DIR = '/home/cyril/ffmpeg' FFMPEG_DIR = '../ffmpeg'
vlc = Extension('vlc', vlc = Extension('vlc',
sources = ['vlcmodule.c'], sources = ['vlcmodule.c'],
...@@ -9,7 +9,7 @@ vlc = Extension('vlc', ...@@ -9,7 +9,7 @@ vlc = Extension('vlc',
'memcpymmx','stream_out_transcode', 'memcpymmx','stream_out_transcode',
'i420_rgb_mmx','i420_yuy2_mmx','i420_ymga_mmx', 'i420_rgb_mmx','i420_yuy2_mmx','i420_ymga_mmx',
'i422_yuy2_mmx','memcpymmxext','memcpy3dn', 'i422_yuy2_mmx','memcpymmxext','memcpy3dn',
'encoder_ffmpeg','avcodec'], 'avcodec'],
library_dirs = [ '../lib', library_dirs = [ '../lib',
'../modules/stream_out', '../modules/encoder/ffmpeg', '../modules/stream_out', '../modules/encoder/ffmpeg',
'../modules/misc/memcpy','../modules/video_chroma', '../modules/misc/memcpy','../modules/video_chroma',
......
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