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
avcodec/libxvid: add HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer
10 years ago
parent
0ebcf87803
commit
39ea21713c
2 changed files
with
8 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
libavcodec/libxvid.c
+4
-1
libavcodec/libxvid_rc.c
+ 4
- 1
libavcodec/libxvid.c
View File
@@ -26,7 +26,6 @@
*/
#include <xvid.h>
#include <unistd.h>
#include "avcodec.h"
#include "internal.h"
#include "libavutil/file.h"
@@ -36,6 +35,10 @@
#include "libxvid.h"
#include "mpegvideo.h"
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
/**
* Buffer management macros.
*/
+ 4
- 1
libavcodec/libxvid_rc.c
View File
@@ -22,13 +22,16 @@
#include "config.h"
#include <xvid.h>
#include <unistd.h>
#include "libavutil/attributes.h"
#include "libavutil/file.h"
#include "avcodec.h"
#include "libxvid.h"
#include "mpegvideo.h"
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#undef NDEBUG
#include <assert.h>
Write
Preview
Loading…
Cancel
Save