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
Include os_support.h only when needed
Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Luca Abeni
18 years ago
parent
a960a1e041
commit
087b327287
4 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-2
libavformat/avformat.h
+1
-0
libavformat/os_support.c
+1
-0
libavformat/tcp.c
+1
-0
libavformat/udp.c
+ 0
- 2
libavformat/avformat.h
View File
@@ -890,8 +890,6 @@ int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size);
#ifdef HAVE_AV_CONFIG_H
#include "os_support.h"
void __dynarray_add(unsigned long **tab_ptr, int *nb_ptr, unsigned long elem);
#ifdef __GNUC__
+ 1
- 0
libavformat/os_support.c
View File
@@ -23,6 +23,7 @@
#include "avformat.h"
#include <unistd.h>
#include <fcntl.h>
#include "os_support.h"
#ifndef HAVE_SYS_POLL_H
#ifdef HAVE_WINSOCK2_H
+ 1
- 0
libavformat/tcp.c
View File
@@ -21,6 +21,7 @@
#include "avformat.h"
#include <unistd.h>
#include "network.h"
#include "os_support.h"
#include <sys/time.h>
typedef struct TCPContext {
+ 1
- 0
libavformat/udp.c
View File
@@ -21,6 +21,7 @@
#include "avformat.h"
#include <unistd.h>
#include "network.h"
#include "os_support.h"
#ifndef IPV6_ADD_MEMBERSHIP
#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
Write
Preview
Loading…
Cancel
Save