-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. In function main(int, char **) an exception of type std::__1::system_error is thrown and never caught. 2. Assigning value MFX_ERR_INVALID_HANDLE to mfx_res here, but that stored value is overwritten before it can be used. Tracked-On: OAM-112437 Signed-off-by: zhangyichix <[email protected]>
- Loading branch information
1 parent
f4461b5
commit f8c286c
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,11 +106,11 @@ int main(int /* argc */, char** /* argv */) { | |
android::hardware::configureRpcThreadpool(8, true /* callerWillJoin */); | ||
|
||
RegisterC2Service(); | ||
|
||
android::hardware::joinRpcThreadpool(); | ||
|
||
} catch(const std::exception& ex) { | ||
// ALOGE("[email protected] exception: %s", ex.what()); | ||
return 0; | ||
ALOGE("[email protected] exception: %s", ex.what()); | ||
} | ||
|
||
android::hardware::joinRpcThreadpool(); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters