Mercurial > mplayer.hg
changeset 32053:abf1b2360d4f
Replace audio_id / video_id extern declarations by mpcommon.h #include.
author | diego |
---|---|
date | Fri, 10 Sep 2010 21:42:13 +0000 |
parents | 84299b9bf8aa |
children | c3c015112837 |
files | stream/asf_mmst_streaming.c stream/asf_streaming.c |
diffstat | 2 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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 <winsock2.h> @@ -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
--- 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 <winsock2.h> @@ -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;