Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor cleanup of avifEncoderWrite(). (#110)
1. Delete the comnent "Reformat pixels, if need be" because the RGB-to-YUV conversion code is gone. Replace it with the comment "Validate image". 2. Return AVIF_RESULT_NO_YUV_FORMAT_SELECTED if image->yuvFormat is AVIF_PIXEL_FORMAT_NONE. This is the error code returned by the original code (before v0.6.0).
- Loading branch information