Skip to content

Commit c3a9234

Browse files
authored
Make it clear that the best quality is lossless
Define AVIF_QUALITY_LOSSLESS right after AVIF_QUALITY_BEST to make it clear that AVIF_QUALITY_LOSSLESS is the same as AVIF_QUALITY_BEST.
1 parent ae966be commit c3a9234

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/avif/avif.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ typedef int avifBool;
101101
#define AVIF_DEFAULT_IMAGE_COUNT_LIMIT (12 * 3600 * 60)
102102

103103
#define AVIF_QUALITY_DEFAULT -1
104-
#define AVIF_QUALITY_LOSSLESS 100
105104
#define AVIF_QUALITY_WORST 0
106105
#define AVIF_QUALITY_BEST 100
106+
#define AVIF_QUALITY_LOSSLESS 100
107107

108108
#define AVIF_QUANTIZER_LOSSLESS 0
109109
#define AVIF_QUANTIZER_BEST_QUALITY 0

0 commit comments

Comments
 (0)