Skip to content

Commit 78c1fbc

Browse files
committed
Fixes according to comments
1 parent a72bd44 commit 78c1fbc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/avif/avif.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ extern "C" {
8585
((AVIF_VERSION_MAJOR * 1000000) + (AVIF_VERSION_MINOR * 10000) + (AVIF_VERSION_PATCH * 100) + AVIF_VERSION_DEVEL)
8686

8787
typedef int avifBool;
88-
typedef enum avifTrueFalse
88+
enum avifTrueFalse_
8989
{
9090
AVIF_FALSE = 0,
9191
AVIF_TRUE = 1
92-
} avifTrueFalse;
92+
};
9393

9494
#define AVIF_DIAGNOSTICS_ERROR_BUFFER_SIZE 256
9595

include/avif/internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static inline void avifBreakOnError()
6969
} while (0)
7070
#else
7171
#define AVIF_ASSERT_OR_RETURN(A) assert(A)
72-
#define AVIF_ASSERT_NOT_REACHED_OR_RETURN assert(AVIF_FALSE);
72+
#define AVIF_ASSERT_NOT_REACHED_OR_RETURN assert(0);
7373
#endif
7474

7575
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)