]> git.sesse.net Git - movit/blobdiff - ycbcr.h
Use nullptr everywhere, now that we have C++11.
[movit] / ycbcr.h
diff --git a/ycbcr.h b/ycbcr.h
index 1c55c3976f579255f0c8115fee16f9fb14d8d64f..207be4e98a81963aae12a86f18ff9aa8e5a9000a 100644 (file)
--- 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 <scale> 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