Skip to content

Commit

Permalink
Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
solidpixel committed Jan 12, 2025
1 parent 9a78711 commit 54929b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/astcenc.h
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ ASTCENC_PUBLIC astcenc_error astcenc_compress_reset(
*
* @param context Codec context.
*
* @return @c ASTCENC_SUCCESS on success, or an error if reset failed.
* @return @c ASTCENC_SUCCESS on success, or an error if cancellation failed.
*/
ASTCENC_PUBLIC astcenc_error astcenc_compress_cancel(
astcenc_context* context);
Expand Down
4 changes: 2 additions & 2 deletions Source/astcenc_entry.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// ----------------------------------------------------------------------------
// Copyright 2011-2024 Arm Limited
// Copyright 2011-2025 Arm Limited
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy
Expand Down Expand Up @@ -1138,7 +1138,7 @@ astcenc_error astcenc_compress_cancel(
}

// Cancel compression before cancelling avg. This avoids the race condition
// where cancellign them in the other order could see a compression worker
// where cancelling them in the other order could see a compression worker
// starting to proces even though some of the avg data is undefined.
ctxo->manage_compress.cancel();
ctxo->manage_avg.cancel();
Expand Down

0 comments on commit 54929b4

Please sign in to comment.