diff stream/stream_rtsp.c @ 32018:c3c9652058f8

Add proper #include instead of declaring index_mode extern.
author diego
date Wed, 08 Sep 2010 20:01:34 +0000
parents 9494acd724a9
children 8f6d3f8ffa61
line wrap: on
line diff
--- a/stream/stream_rtsp.c	Wed Sep 08 19:51:57 2010 +0000
+++ b/stream/stream_rtsp.c	Wed Sep 08 20:01:34 2010 +0000
@@ -38,6 +38,7 @@
 #endif
 #include <errno.h>
 
+#include "libmpdemux/demuxer.h"
 #include "network.h"
 #include "stream.h"
 #include "tcp.h"
@@ -141,7 +142,6 @@
 rtsp_streaming_open (stream_t *stream, int mode, void *opts, int *file_format)
 {
   URL_t *url;
-  extern int index_mode;
 
   mp_msg (MSGT_OPEN, MSGL_V, "STREAM_RTSP, URL: %s\n", stream->url);
   stream->streaming_ctrl = streaming_ctrl_new ();