Skip to content

Commit

Permalink
Fix exports for 3 new avif APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Drago committed May 20, 2021
1 parent 79dfd5d commit 54033e9
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions include/avif/avif.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ typedef struct avifDiagnostics
char error[AVIF_DIAGNOSTICS_ERROR_BUFFER_SIZE];
} avifDiagnostics;

void avifDiagnosticsClearError(avifDiagnostics * diag);
AVIF_API void avifDiagnosticsClearError(avifDiagnostics * diag);

// ---------------------------------------------------------------------------
// Optional transformation structs
Expand Down Expand Up @@ -383,18 +383,18 @@ typedef struct avifCropRect

// These will return AVIF_FALSE if the resultant values violate any standards, and if so, the output
// values are not guaranteed to be complete or correct and should not be used.
avifBool avifCropRectConvertCleanApertureBox(avifCropRect * cropRect,
const avifCleanApertureBox * clap,
const uint32_t imageW,
const uint32_t imageH,
const avifPixelFormat yuvFormat,
avifDiagnostics * diag);
avifBool avifCleanApertureBoxConvertCropRect(avifCleanApertureBox * clap,
const avifCropRect * cropRect,
const uint32_t imageW,
const uint32_t imageH,
const avifPixelFormat yuvFormat,
avifDiagnostics * diag);
AVIF_API avifBool avifCropRectConvertCleanApertureBox(avifCropRect * cropRect,
const avifCleanApertureBox * clap,
const uint32_t imageW,
const uint32_t imageH,
const avifPixelFormat yuvFormat,
avifDiagnostics * diag);
AVIF_API avifBool avifCleanApertureBoxConvertCropRect(avifCleanApertureBox * clap,
const avifCropRect * cropRect,
const uint32_t imageW,
const uint32_t imageH,
const avifPixelFormat yuvFormat,
avifDiagnostics * diag);

// ---------------------------------------------------------------------------
// avifImage
Expand Down

0 comments on commit 54033e9

Please sign in to comment.