This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
OSX and BeOS networking fix (socklen_t)
Originally committed as revision 2077 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
François Revol
22 years ago
parent
be3564edad
commit
438fcb754f
3 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavformat/barpainet.h
+1
-0
libavformat/rtsp.c
+3
-0
libavformat/tcp.c
+ 2
- 0
libavformat/barpainet.h
View File
@@ -16,6 +16,8 @@ struct ip_mreq {
struct in_addr imr_interface; /* local IP address of interface */
};
#include <netdb.h>
#else
# include <arpa/inet.h>
#endif
+ 1
- 0
libavformat/rtsp.c
View File
@@ -18,6 +18,7 @@
*/
#include "avformat.h"
#include <unistd.h> /* for select() prototype */
#include <sys/time.h>
#include <netinet/in.h>
#include <sys/socket.h>
+ 3
- 0
libavformat/tcp.c
View File
@@ -22,6 +22,9 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#if defined(__APPLE__) || defined(__BEOS__)
typedef int socklen_t;
#endif
#ifndef __BEOS__
# include <arpa/inet.h>
#else
Write
Preview
Loading…
Cancel
Save