[FFmpeg-cvslog] avdevice/android_camera: fix missing include for usleep

Zhao Zhili git at videolan.org
Mon Sep 18 20:01:54 EEST 2023


ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Sun Sep 17 10:48:38 2023 +0800| [eb96dda5ede46550af8a9fce77fea20a00838a83] | committer: Zhao Zhili

avdevice/android_camera: fix missing include for usleep

Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb96dda5ede46550af8a9fce77fea20a00838a83
---

 libavdevice/android_camera.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavdevice/android_camera.c b/libavdevice/android_camera.c
index 1934999c18..0425b27518 100644
--- a/libavdevice/android_camera.c
+++ b/libavdevice/android_camera.c
@@ -25,6 +25,7 @@
 #include <stdatomic.h>
 #include <stdbool.h>
 #include <stdint.h>
+#include <unistd.h>
 
 #include <camera/NdkCameraDevice.h>
 #include <camera/NdkCameraManager.h>



More information about the ffmpeg-cvslog mailing list