Loading media/codec2/vndk/platform/C2SurfaceSyncObj.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -228,10 +228,10 @@ c2_status_t C2SyncVariables::waitForChange(uint32_t waitId, c2_nsecs_t timeoutNs tv.tv_nsec = timeoutNs % 1000000000; int ret = syscall(__NR_futex, &mCond, FUTEX_WAIT, waitId, &tv, NULL, 0); if (ret == 0 || ret == EAGAIN) { if (ret == 0 || errno == EAGAIN) { return C2_OK; } if (ret == EINTR || ret == ETIMEDOUT) { if (errno == EINTR || errno == ETIMEDOUT) { return C2_TIMED_OUT; } return C2_BAD_VALUE; Loading Loading
media/codec2/vndk/platform/C2SurfaceSyncObj.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -228,10 +228,10 @@ c2_status_t C2SyncVariables::waitForChange(uint32_t waitId, c2_nsecs_t timeoutNs tv.tv_nsec = timeoutNs % 1000000000; int ret = syscall(__NR_futex, &mCond, FUTEX_WAIT, waitId, &tv, NULL, 0); if (ret == 0 || ret == EAGAIN) { if (ret == 0 || errno == EAGAIN) { return C2_OK; } if (ret == EINTR || ret == ETIMEDOUT) { if (errno == EINTR || errno == ETIMEDOUT) { return C2_TIMED_OUT; } return C2_BAD_VALUE; Loading