Skip to content

Commit

Permalink
reformat_libyuv: Fix compile with libyuv < 1780
Browse files Browse the repository at this point in the history
Alpha matrix NULL defines were not added in cf747ba
  • Loading branch information
yarrick authored and vigneshvg committed Oct 6, 2023
1 parent ee29bec commit 663e45b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/reformat_libyuv.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ unsigned int avifLibYUVVersion(void)
#endif
#if LIBYUV_VERSION < 1780
#define I410ToARGBMatrix NULL
#define I410AlphaToARGBMatrix NULL
#define I210AlphaToARGBMatrix NULL
#define I010AlphaToARGBMatrix NULL
#endif
#if LIBYUV_VERSION < 1771
#define I422AlphaToARGBMatrix NULL
Expand Down

0 comments on commit 663e45b

Please sign in to comment.