aboutsummaryrefslogtreecommitdiffstats
path: root/tools/patcheck
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-03-27 03:03:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-03-27 03:03:50 +0000
commit9e793a2462c1509a283e40ddc09d9130750b2f9c (patch)
treef2ba7a6119d505dcaf74dbb5e7a7e3d7b3fab39b /tools/patcheck
parentd95a0c67ae1dbcace6b4043a6cbedcc23d3f319d (diff)
downloadffmpeg-9e793a2462c1509a283e40ddc09d9130750b2f9c.tar.gz
Check for INIT_VLC_USE_STATIC
Originally committed as revision 18200 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tools/patcheck')
-rwxr-xr-xtools/patcheck1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/patcheck b/tools/patcheck
index ab1e237552..9f5be8202b 100755
--- a/tools/patcheck
+++ b/tools/patcheck
@@ -41,6 +41,7 @@ hiegrep '//[-/<\* ]*$' 'empty comment' $*
hiegrep '/\*[-<\* ]*\*/' 'empty comment' $*
hiegrep 'for *\( *'"$ERE_PRITYP"' ' 'not gcc 2.95 compatible' $*
hiegrep '(static|inline|const) *\1' 'duplicate word' $*
+hiegrep 'INIT_VLC_USE_STATIC' 'forbidden ancient vlc type' $*
hiegrep2 '(int|unsigned|static|void)[a-zA-Z0-9 _]*(init|end)[a-zA-Z0-9 _]*\(.*[^;]$' '(av_cold|:\+[^a-zA-Z_])' 'These functions may need av_cold, please review the whole patch for similar functions needing av_cold' $*