[FFmpeg-devel] [PATCH] fate/source: Attempt to fix BSD sed
Timothy Gu
timothygu99 at gmail.com
Fri Feb 12 07:27:47 CET 2016
I apparently used a GNU extension in the !{} syntax. Remove that rule
and the cause of it.
---
cmdutils.h | 4 ++--
tests/fate/source-check.sh | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/cmdutils.h b/cmdutils.h
index 7f3db2a..83ea4ad 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef FFMPEG_CMDUTILS_H
-#define FFMPEG_CMDUTILS_H
+#ifndef CMDUTILS_H
+#define CMDUTILS_H
#include <stdint.h>
diff --git a/tests/fate/source-check.sh b/tests/fate/source-check.sh
index 1947b52..50939f9 100755
--- a/tests/fate/source-check.sh
+++ b/tests/fate/source-check.sh
@@ -19,7 +19,6 @@ git grep -L -E "This file is part of FFmpeg|This file is part of libswresample|"
echo Headers without standard inclusion guards:
for f in `git ls-files | grep '\.h$'` ; do
macro="`echo $f | sed \
- -e '/\/\|^ff/!{s/\(.*\)/ffmpeg\/\1/}' \
-e 's/^lib//' \
-e 's/[^A-Za-z0-9]\{1\,\}/_/g' \
-e 's/_\(a\|v\|av\)f_/_/' \
--
2.1.4
More information about the ffmpeg-devel
mailing list