From 9011c60f69b6771dd27d4915efc68bf525c0963d Mon Sep 17 00:00:00 2001 From: Christian Helmrich <christian.helmrich@hhi.fraunhofer.de> Date: Wed, 12 Aug 2020 15:15:34 +0200 Subject: [PATCH] remove TODO comment, code verified --- source/Lib/Utilities/VideoIOYuv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Lib/Utilities/VideoIOYuv.cpp b/source/Lib/Utilities/VideoIOYuv.cpp index 7760afca92..9eec0c1b39 100644 --- a/source/Lib/Utilities/VideoIOYuv.cpp +++ b/source/Lib/Utilities/VideoIOYuv.cpp @@ -580,7 +580,7 @@ static bool writePlane( uint32_t orgWidth, uint32_t orgHeight, ostream& fd, cons { if ((y444 & mask_y_file) == 0) // if this is chroma, determine whether to skip every other row { - memset (reinterpret_cast<char*>(buf), 0, stride_file); // TODO: is this correct? Should behave similarly to code block at end of this function + memset (reinterpret_cast<char*>(buf), 0, stride_file); fd.write (reinterpret_cast<const char*>(buf), stride_file); if (fd.eof() || fd.fail()) -- GitLab