Mercurial > mplayer.hg
changeset 32018:c3c9652058f8
Add proper #include instead of declaring index_mode extern.
author | diego |
---|---|
date | Wed, 08 Sep 2010 20:01:34 +0000 |
parents | 922a375ec4af |
children | 622ac29edfc8 |
files | stream/stream_rtsp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 ();