Browse Source

tests/fate/source-check: Relax BSD licence check

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.

Reviewed-by: Rémi Denis-Courmont <remi@remlab.net>
Reviewed-by: Pierre-Anthony Lemieux <pal@sandflow.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Andreas Rheinhardt 9 months ago
parent
commit
41e1322845
2 changed files with 1 additions and 6 deletions
  1. 1 1
      tests/fate/source-check.sh
  2. 0 5
      tests/ref/fate/source

+ 1 - 1
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|"\

+ 0 - 5
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