Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

fixes DocumentReader.processVideoFrame() so that it returns the error…#1

Open
doug-precocity wants to merge 1 commit intoregulaforensics:masterfrom
doug-precocity:patch-1
Open

fixes DocumentReader.processVideoFrame() so that it returns the error…#1
doug-precocity wants to merge 1 commit intoregulaforensics:masterfrom
doug-precocity:patch-1

Conversation

@doug-precocity
Copy link

… code from JNI

The return errorcode; line was contained within the if (errorcode == MRZDetectorErrorCode.MRZ_RECOGNIZED_CONFIDENTLY) { block, so it would only get executed if the errorcode was 8. Otherwise execution would fall through to to the return MRZDetectorErrorCode.INPUT_CONTAINER_NULL_POINTER; line.

return errorcode; just needs to be outside that conditional block

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant