Skip to content

Commit

Permalink
Rename avifStatus to avifResult in comment. (AOMediaCodec#1673)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud authored Oct 11, 2023
1 parent 7c639ad commit 066daeb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public static AvifDecoder create(ByteBuffer encoded, int threads) {
* Decodes the next frame of the animated AVIF into the bitmap.
*
* @param bitmap The decoded pixels will be copied into the bitmap.
* @return 0 (AVIF_RESULT_OK) on success and some other avifStatus on failure. For a list of all
* @return 0 (AVIF_RESULT_OK) on success and some other avifResult on failure. For a list of all
* possible status codes, see the avifResult enum on avif.h in libavif's C source code. A
* String describing the return value can be obtained by calling {@link resultToString} with
* the return value of this function.
Expand Down Expand Up @@ -225,7 +225,7 @@ public int nextFrameIndex() {
*
* @param bitmap The decoded pixels will be copied into the bitmap.
* @param n The zero-based index of the frame to be decoded.
* @return 0 (AVIF_RESULT_OK) on success and some other avifStatus on failure. For a list of all
* @return 0 (AVIF_RESULT_OK) on success and some other avifResult on failure. For a list of all
* possible status codes, see the avifResult enum on avif.h in libavif's C source code. A
* String describing the return value can be obtained by calling {@link resultToString} with
* the return value of this function.
Expand Down

0 comments on commit 066daeb

Please sign in to comment.