X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=ycbcr.h;fp=ycbcr.h;h=207be4e98a81963aae12a86f18ff9aa8e5a9000a;hp=1c55c3976f579255f0c8115fee16f9fb14d8d64f;hb=f34b1c36acd27944f00885edfc55363432bfec8e;hpb=0ed2c7fe3876a49d1565e3425e5a491206ffe32d diff --git a/ycbcr.h b/ycbcr.h index 1c55c39..207be4e 100644 --- a/ycbcr.h +++ b/ycbcr.h @@ -82,7 +82,7 @@ float compute_chroma_offset(float pos, unsigned subsampling_factor, unsigned res // we support storing it in 16-bit formats, which incurs extra scaling factors. // You can get that scaling factor in if you want. void compute_ycbcr_matrix(YCbCrFormat ycbcr_format, float *offset, Eigen::Matrix3d *ycbcr_to_rgb, - GLenum type = GL_UNSIGNED_BYTE, double *scale_factor = NULL); + GLenum type = GL_UNSIGNED_BYTE, double *scale_factor = nullptr); } // namespace movit