summaryrefslogtreecommitdiffstats
path: root/stream/librtsp/rtsp_session.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-04 09:48:14 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-04 09:48:14 +0000
commit348a61a71f5d56572f1f8fca34af8a160c929d9b (patch)
tree32e025055fe7eda4473b4d0b05b7ed0537441498 /stream/librtsp/rtsp_session.c
parentfb26608318947b76908eec3d781f90c4f7548368 (diff)
downloadmpv-348a61a71f5d56572f1f8fca34af8a160c929d9b.tar.bz2
mpv-348a61a71f5d56572f1f8fca34af8a160c929d9b.tar.xz
Disambiguate HEADER_SIZE definition in stream/librtsp and stream/realrtsp.
This fixes the warning: In file included from stream/realrtsp/real.c:35: stream/realrtsp/real.h:36:1: warning: "HEADER_SIZE" redefined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30194 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/librtsp/rtsp_session.c')
-rw-r--r--stream/librtsp/rtsp_session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/librtsp/rtsp_session.c b/stream/librtsp/rtsp_session.c
index 33c36f15b9..b1176dbb99 100644
--- a/stream/librtsp/rtsp_session.c
+++ b/stream/librtsp/rtsp_session.c
@@ -175,7 +175,7 @@ rtsp_session_t *rtsp_session_start(int fd, char **mrl, char *path, char *host,
mp_msg(MSGT_OPEN, MSGL_V, "smil-over-realrtsp playlist, switching to raw rdt mode\n");
} else {
rtsp_session->real_session->header_len =
- rmff_dump_header (h, (char *) rtsp_session->real_session->header, HEADER_SIZE);
+ rmff_dump_header (h, (char *) rtsp_session->real_session->header, RTSP_HEADER_SIZE);
if (rtsp_session->real_session->header_len < 0) {
mp_msg (MSGT_OPEN, MSGL_ERR,"rtsp_session: error while dumping RMFF headers, session can not be established.\n");