[MPlayer-cvslog] r32137 - in trunk/stream: asf_mmst_streaming.c asf_streaming.c

diego subversion at mplayerhq.hu
Fri Sep 10 23:42:13 CEST 2010


Author: diego
Date: Fri Sep 10 23:42:13 2010
New Revision: 32137

Log:
Replace audio_id / video_id extern declarations by mpcommon.h #include.

Modified:
   trunk/stream/asf_mmst_streaming.c
   trunk/stream/asf_streaming.c

Modified: trunk/stream/asf_mmst_streaming.c
==============================================================================
--- trunk/stream/asf_mmst_streaming.c	Fri Sep 10 18:55:12 2010	(r32136)
+++ trunk/stream/asf_mmst_streaming.c	Fri Sep 10 23:42:13 2010	(r32137)
@@ -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

Modified: trunk/stream/asf_streaming.c
==============================================================================
--- trunk/stream/asf_streaming.c	Fri Sep 10 18:55:12 2010	(r32136)
+++ trunk/stream/asf_streaming.c	Fri Sep 10 23:42:13 2010	(r32137)
@@ -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 @@ printf("0x%02X\n", stream_chunck->type )
 	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;


More information about the MPlayer-cvslog mailing list