mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +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 BIT_DEPTH 8
|
||||||
#define PIXEL_MIN 0
|
#define PIXEL_MIN 0
|
||||||
#define PIXEL_MAX (1 << BIT_DEPTH)
|
#define PIXEL_MAX ((1 << BIT_DEPTH) - 1)
|
||||||
|
|
||||||
#if BIT_DEPTH == 8
|
#if BIT_DEPTH == 8
|
||||||
typedef uint8_t pixel;
|
typedef uint8_t pixel;
|
||||||
|
|
Loading…
Reference in a new issue