[FFmpeg-devel] [PATCH 2/3] tests/source-check: Fix make inclusion-guard check EOL-agnostic

softworkz ffmpegagent at gmail.com
Mon May 12 12:59:46 EEST 2025


From: softworkz <softworkz at hotmail.com>

..to make it work when checked out with autocrlf=on,
which is Git default on Windows.

Signed-off-by: softworkz <softworkz at hotmail.com>
---
 tests/fate/source-check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/fate/source-check.sh b/tests/fate/source-check.sh
index 4d7e175784..99e869e869 100755
--- a/tests/fate/source-check.sh
+++ b/tests/fate/source-check.sh
@@ -28,7 +28,7 @@ for f in `git ls-files | grep '\.h$'` ; do
         -e 's/_vaf_/_/' \
     | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
 
-    git grep -L "^#define $macro$" $f
+    git grep -L "^#define $macro\>" $f
 done
 
 echo "Use of av_clip() where av_clip_uintp2() could be used:"
-- 
ffmpeg-codebot



More information about the ffmpeg-devel mailing list