Skip to content

Commit b3af050

Browse files
committed
Fix incorrect error message
1 parent b8ce666 commit b3af050

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/astcenccli_toplevel.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2267,7 +2267,8 @@ int astcenc_main(
22672267

22682268
if (work.error != ASTCENC_SUCCESS)
22692269
{
2270-
print_error("ERROR: Codec decompress failed: %s\n", astcenc_get_error_string(codec_status));
2270+
print_error("ERROR: Codec decompress failed: %s\n",
2271+
astcenc_get_error_string(work.error));
22712272
return 1;
22722273
}
22732274
}

0 commit comments

Comments
 (0)