Remove unused avifPixelFormatInfo in codec_*.c
diff --git a/src/codec_aom.c b/src/codec_aom.c
index 96d3ca6..abd16da 100644
--- a/src/codec_aom.c
+++ b/src/codec_aom.c
@@ -216,9 +216,6 @@
image->transferCharacteristics = (avifTransferCharacteristics)codec->internal->image->tc;
image->matrixCoefficients = (avifMatrixCoefficients)codec->internal->image->mc;
- avifPixelFormatInfo formatInfo;
- avifGetPixelFormatInfo(yuvFormat, &formatInfo);
-
// Steal the pointers from the decoder's image directly
avifImageFreePlanes(image, AVIF_PLANES_YUV);
int yuvPlaneCount = (yuvFormat == AVIF_PIXEL_FORMAT_YUV400) ? 1 : 3;
diff --git a/src/codec_dav1d.c b/src/codec_dav1d.c
index 8af8d88..673451f 100644
--- a/src/codec_dav1d.c
+++ b/src/codec_dav1d.c
@@ -178,9 +178,6 @@
image->transferCharacteristics = (avifTransferCharacteristics)dav1dImage->seq_hdr->trc;
image->matrixCoefficients = (avifMatrixCoefficients)dav1dImage->seq_hdr->mtrx;
- avifPixelFormatInfo formatInfo;
- avifGetPixelFormatInfo(yuvFormat, &formatInfo);
-
avifImageFreePlanes(image, AVIF_PLANES_YUV);
int yuvPlaneCount = (yuvFormat == AVIF_PIXEL_FORMAT_YUV400) ? 1 : 3;
for (int yuvPlane = 0; yuvPlane < yuvPlaneCount; ++yuvPlane) {
diff --git a/src/codec_libgav1.c b/src/codec_libgav1.c
index 537f020..d5a033c 100644
--- a/src/codec_libgav1.c
+++ b/src/codec_libgav1.c
@@ -117,9 +117,6 @@
image->transferCharacteristics = (avifTransferCharacteristics)gav1Image->transfer_characteristics;
image->matrixCoefficients = (avifMatrixCoefficients)gav1Image->matrix_coefficients;
- avifPixelFormatInfo formatInfo;
- avifGetPixelFormatInfo(yuvFormat, &formatInfo);
-
// Steal the pointers from the decoder's image directly
avifImageFreePlanes(image, AVIF_PLANES_YUV);
int yuvPlaneCount = (yuvFormat == AVIF_PIXEL_FORMAT_YUV400) ? 1 : 3;