Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
087b3272
Commit
087b3272
authored
17 years ago
by
Luca Abeni
Browse files
Options
Downloads
Patches
Plain Diff
Include os_support.h only when needed
Originally committed as revision 11073 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a960a1e0
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
libavformat/avformat.h
+0
-2
0 additions, 2 deletions
libavformat/avformat.h
libavformat/os_support.c
+1
-0
1 addition, 0 deletions
libavformat/os_support.c
libavformat/tcp.c
+1
-0
1 addition, 0 deletions
libavformat/tcp.c
libavformat/udp.c
+1
-0
1 addition, 0 deletions
libavformat/udp.c
with
3 additions
and
2 deletions
libavformat/avformat.h
+
0
−
2
View file @
087b3272
...
...
@@ -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__
...
...
This diff is collapsed.
Click to expand it.
libavformat/os_support.c
+
1
−
0
View file @
087b3272
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
libavformat/tcp.c
+
1
−
0
View file @
087b3272
...
...
@@ -21,6 +21,7 @@
#include
"avformat.h"
#include
<unistd.h>
#include
"network.h"
#include
"os_support.h"
#include
<sys/time.h>
typedef
struct
TCPContext
{
...
...
This diff is collapsed.
Click to expand it.
libavformat/udp.c
+
1
−
0
View file @
087b3272
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment