Skip to content

Return plain 0/-1 from the app instead of library return codes - #92

Merged
mpeg5 merged 1 commit into
masterfrom
app_exit_code
Aug 7, 2026
Merged

Return plain 0/-1 from the app instead of library return codes#92
mpeg5 merged 1 commit into
masterfrom
app_exit_code

Conversation

@kpchoi

@kpchoi kpchoi commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

The app should exit with plain 0/-1 process codes; XEVD_* return values belong to the library API. This replaces return XEVD_ERR/XEVD_OK and the proc_ret assignments in the app code with plain -1/0. Library results are still checked through XEVD_FAILED()/XEVD_SUCCEEDED().

No behavior change: decode output verified bit-exact, success exits 0 and error paths exit -1 as before (both values are the same numerically).

Signed-off-by: KP Choi <kp5.choi@samsung.com>

@mpeg5 mpeg5 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mpeg5
mpeg5 merged commit 617525a into master Aug 7, 2026
3 checks passed
@kpchoi
kpchoi deleted the app_exit_code branch August 8, 2026 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants