Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit c5c0451

Browse files
luoying1234U1X6WK
authored andcommitted
Fix build error in data_type.h (#37)
Signed-off-by: Luo Ying <[email protected]>
1 parent 20ad037 commit c5c0451

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/utils/data_type.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@
4242
extern "C" {
4343
#endif
4444

45-
#ifdef _LINUX_OS_
46-
#define OFFSET_VIDEO_ID_FOR_CATCHUP 10
47-
#endif
48-
#ifdef _ANDROID_OS_
45+
#if (defined _ANDROID_NDK_OPTION_) || (defined _ANDROID_OS_)
4946
#define OFFSET_VIDEO_ID_FOR_CATCHUP 5
47+
#else
48+
#define OFFSET_VIDEO_ID_FOR_CATCHUP 10
5049
#endif
5150
#define MAX_CAMERA_H_NUM 12
5251
#define MAX_CAMERA_V_NUM 1

0 commit comments

Comments
 (0)