# HG changeset patch # User diego # Date 1284154933 0 # Node ID abf1b2360d4f126f962b7edb78e11896d77b8370 # Parent 84299b9bf8aaf808abfe57d67916e9d9048970a2 Replace audio_id / video_id extern declarations by mpcommon.h #include. diff -r 84299b9bf8aa -r abf1b2360d4f stream/asf_mmst_streaming.c --- a/stream/asf_mmst_streaming.c Fri Sep 10 16:55:12 2010 +0000 +++ b/stream/asf_mmst_streaming.c Fri Sep 10 21:42:13 2010 +0000 @@ -38,6 +38,7 @@ #include "mp_msg.h" #include "help_mp.h" +#include "mpcommon.h" #if HAVE_WINSOCK2_H #include @@ -55,9 +56,6 @@ #include "network.h" #include "tcp.h" -extern int audio_id; -extern int video_id; - #define BUF_SIZE 102400 #define HDR_BUF_SIZE 8192 #define MAX_STREAMS 20 diff -r 84299b9bf8aa -r abf1b2360d4f stream/asf_streaming.c --- a/stream/asf_streaming.c Fri Sep 10 16:55:12 2010 +0000 +++ b/stream/asf_streaming.c Fri Sep 10 21:42:13 2010 +0000 @@ -26,6 +26,7 @@ #include "config.h" #include "mp_msg.h" #include "help_mp.h" +#include "mpcommon.h" #if HAVE_WINSOCK2_H #include @@ -160,9 +161,6 @@ return stream_chunck->size+4; } -extern int audio_id; -extern int video_id; - static void close_s(stream_t *stream) { closesocket(stream->fd); stream->fd=-1;