# HG changeset patch # User diego # Date 1283976094 0 # Node ID c3c9652058f8dde667460fe90108b80b3b426f48 # Parent 922a375ec4afb7a4c681658dfc8fd4bcec8a953a Add proper #include instead of declaring index_mode extern. diff -r 922a375ec4af -r c3c9652058f8 stream/stream_rtsp.c --- 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 +#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 ();