mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
avcodec/crystalhd: Add #if HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0ffba9feb6
commit
5c7bf354dc
@ -77,7 +77,6 @@
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <libcrystalhd/bc_dts_types.h>
|
||||
#include <libcrystalhd/bc_dts_defs.h>
|
||||
@ -90,6 +89,10 @@
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/opt.h"
|
||||
|
||||
#if HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
/** Timeout parameter passed to DtsProcOutput() in us */
|
||||
#define OUTPUT_PROC_TIMEOUT 50
|
||||
/** Step between fake timestamps passed to hardware in units of 100ns */
|
||||
|
Loading…
Reference in New Issue
Block a user