static-ized a couple of functions

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18806 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-06-24 09:27:07 +00:00
parent 8f18af19d9
commit 0d0ed504d8
2 changed files with 3 additions and 3 deletions

View File

@ -187,7 +187,7 @@ static int rtp_get_next(int fd, char *buffer, int length)
// Read next rtp packet using cache
int read_rtp_from_server(int fd, char *buffer, int length) {
static int read_rtp_from_server(int fd, char *buffer, int length) {
// Following test is ASSERT (i.e. uneuseful if code is correct)
if(buffer==NULL || length<STREAM_BUFFER_SIZE) {
mp_msg(MSGT_NETWORK, MSGL_ERR, "RTP buffer invalid; no data return from network\n");
@ -343,7 +343,7 @@ static int rtp_streaming_start( stream_t *stream, int raw_udp ) {
}
int getrtp2(int fd, struct rtpheader *rh, char** data, int* lengthData) {
static int getrtp2(int fd, struct rtpheader *rh, char** data, int* lengthData) {
static char buf[1600];
unsigned int intP;
char* charP = (char*) &intP;

View File

@ -32,6 +32,6 @@ struct rtpheader { /* in network byte order */
};
int getrtp2(int fd, struct rtpheader *rh, char** data, int* lengthData);
static int getrtp2(int fd, struct rtpheader *rh, char** data, int* lengthData);
#endif