We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
!!!!!!!! failed to load library
static oar_dl_context *create_dl_context() { oar_dl_context *dl_context = (oar_dl_context *)malloc(sizeof(oar_dl_context)); dl_context->libHandler = dlopen("./libmediacodec-lib.so", RTLD_NOW); if (!dl_context->libHandler) { LOGE("!!!!!!!! failed to load library"); return NULL; }
dl_context->create_native_mediacodec = dlsym(dl_context->libHandler, "oar_create_native_mediacodec"); dl_context->native_mediacodec_flush = dlsym(dl_context->libHandler, "oar_native_mediacodec_flush"); dl_context->native_mediacodec_receive_frame = dlsym(dl_context->libHandler, "oar_native_mediacodec_receive_frame"); dl_context->native_mediacodec_release_buffer = dlsym(dl_context->libHandler, "oar_native_mediacodec_release_buffer"); dl_context->native_mediacodec_release_context = dlsym(dl_context->libHandler, "oar_native_mediacodec_release_context"); dl_context->native_mediacodec_send_packet = dlsym(dl_context->libHandler, "oar_native_mediacodec_send_packet"); dl_context->native_mediacodec_start = dlsym(dl_context->libHandler, "oar_native_mediacodec_start"); dl_context->native_mediacodec_stop = dlsym(dl_context->libHandler, "oar_native_mediacodec_stop"); return dl_context;
The text was updated successfully, but these errors were encountered:
路径问题,已修复
Sorry, something went wrong.
No branches or pull requests
!!!!!!!! failed to load library
static oar_dl_context *create_dl_context()
{
oar_dl_context *dl_context = (oar_dl_context *)malloc(sizeof(oar_dl_context));
dl_context->libHandler = dlopen("./libmediacodec-lib.so", RTLD_NOW);
if (!dl_context->libHandler) {
LOGE("!!!!!!!! failed to load library");
return NULL;
}
The text was updated successfully, but these errors were encountered: