Rename avifSample to avifDecodeSample (in prep for avifEncodeSample)
diff --git a/include/avif/internal.h b/include/avif/internal.h
index 777f13f..02dd3ed 100644
--- a/include/avif/internal.h
+++ b/include/avif/internal.h
@@ -87,16 +87,16 @@
// ---------------------------------------------------------------------------
// avifCodecDecodeInput
-typedef struct avifSample
+typedef struct avifDecodeSample
{
avifROData data;
avifBool sync; // is sync sample (keyframe)
-} avifSample;
-AVIF_ARRAY_DECLARE(avifSampleArray, avifSample, sample);
+} avifDecodeSample;
+AVIF_ARRAY_DECLARE(avifDecodeSampleArray, avifDecodeSample, sample);
typedef struct avifCodecDecodeInput
{
- avifSampleArray samples;
+ avifDecodeSampleArray samples;
avifBool alpha; // if true, this is decoding an alpha plane
} avifCodecDecodeInput;