mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Added missing -1 to PIXEL_MAX macro
This commit is contained in:
parent
465f718eeb
commit
4382c2f088
|
@ -44,7 +44,7 @@
|
|||
|
||||
#define BIT_DEPTH 8
|
||||
#define PIXEL_MIN 0
|
||||
#define PIXEL_MAX (1 << BIT_DEPTH)
|
||||
#define PIXEL_MAX ((1 << BIT_DEPTH) - 1)
|
||||
|
||||
#if BIT_DEPTH == 8
|
||||
typedef uint8_t pixel;
|
||||
|
|
Loading…
Reference in a new issue