[FFmpeg-devel] [RFC PATCH 2/2] tests/fate/source-check: Relax BSD licence check

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed May 22 14:04:50 EEST 2024


Several files already had standard license header (namely
2-clause BSD files), yet due to the 80 char line length limit,
they were not treated as such by source-check.sh (which
fate-source uses). Therefore relax the BSD check.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
This is the first variant. The second variant follows shortly.

 tests/fate/source-check.sh | 2 +-
 tests/ref/fate/source      | 5 -----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/tests/fate/source-check.sh b/tests/fate/source-check.sh
index 658823fc0b..4d7e175784 100755
--- a/tests/fate/source-check.sh
+++ b/tests/fate/source-check.sh
@@ -11,7 +11,7 @@ git grep -L -E "This file is part of FFmpeg|This file is part of libswresample|"
 "Permission is hereby granted to use, copy, modify, and distribute this|"\
 "Permission is granted to anyone to use this software for any purpose|"\
 "This work is licensed under the terms of the GNU GPL|"\
-"Redistribution and use in source and binary forms, with or without modification|"\
+"Redistribution and use in source and binary forms, with or without|"\
 "This library is free software; you can redistribute it and/or|"\
 "This program is free software; you can redistribute it and/or modify|"\
 "Licensed under the Apache License|"\
diff --git a/tests/ref/fate/source b/tests/ref/fate/source
index 723e2e06c7..a3beb35093 100644
--- a/tests/ref/fate/source
+++ b/tests/ref/fate/source
@@ -1,15 +1,10 @@
 Files without standard license headers:
 libavcodec/file_open.c
-libavcodec/ilbcdata.h
-libavcodec/ilbcdec.c
 libavcodec/interplayacm.c
 libavcodec/log2_tab.c
 libavcodec/reverse.c
-libavcodec/riscv/startcode_rvb.S
-libavcodec/riscv/startcode_rvv.S
 libavdevice/file_open.c
 libavdevice/reverse.c
-libavfilter/af_arnndn.c
 libavfilter/file_open.c
 libavfilter/log2_tab.c
 libavformat/bitstream.c
-- 
2.40.1



More information about the ffmpeg-devel mailing list