This is unnecessary

We already check if we have no loss, and if we do have a loss but also no recovery, it will fail with Leopard_NeedMore, so this check isn't actually needed
This commit is contained in:
gbletr42 2024-03-23 04:05:53 +00:00 committed by Eric
parent ad7cbb2ddb
commit 670c5e6ef8
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ LEO_EXPORT LeopardResult leo_decode(
} }
// Handle m = 1 case // Handle m = 1 case
if (recovery_count == 1 && recovery_got_count == 1) if (recovery_count == 1)
{ {
DecodeM1( DecodeM1(
buffer_bytes, buffer_bytes,