diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-04 09:48:14 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-04 09:48:14 +0000 |
commit | 348a61a71f5d56572f1f8fca34af8a160c929d9b (patch) | |
tree | 32e025055fe7eda4473b4d0b05b7ed0537441498 /stream/realrtsp | |
parent | fb26608318947b76908eec3d781f90c4f7548368 (diff) | |
download | mpv-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/realrtsp')
-rw-r--r-- | stream/realrtsp/real.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/realrtsp/real.h b/stream/realrtsp/real.h index 40e59c7c23..6cc771b718 100644 --- a/stream/realrtsp/real.h +++ b/stream/realrtsp/real.h @@ -33,7 +33,7 @@ #include "rmff.h" #include "stream/librtsp/rtsp.h" -#define HEADER_SIZE 4096 +#define REAL_HEADER_SIZE 4096 struct real_rtsp_session_t { /* receive buffer */ @@ -42,7 +42,7 @@ struct real_rtsp_session_t { int recv_read; /* header buffer */ - uint8_t header[HEADER_SIZE]; + uint8_t header[REAL_HEADER_SIZE]; int header_len; int header_read; |