aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2011-03-18 22:28:52 +1100
committerAnton Khirnov <anton@khirnov.net>2011-05-12 13:02:58 +0200
commitc7d22c5d678e4a1977071296df7c151693358156 (patch)
treef5d5e37ddf9e4b8faf74ae04179f5e0f4df17f80 /tools
parent92fe25875616c902047732aaff1fa70390be57c9 (diff)
downloadffmpeg-c7d22c5d678e4a1977071296df7c151693358156.tar.gz
patcheck: warn about assert usage
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/patcheck1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/patcheck b/tools/patcheck
index a8c0cc8cf7..19faf47b1d 100755
--- a/tools/patcheck
+++ b/tools/patcheck
@@ -84,6 +84,7 @@ hiegrep '(:\+|,|;)( *|static|\*)*'"$ERE_PRITYP"' *\*( |\*)*(src|source|input|in[
hiegrep '(:\+|,|;)( *|static|\*)*'"$ERE_PRITYP"' *(src|source|input|in)([0-9A-Z_][0-9A-Za-z_]*){1,} *\[' 'missing const (test2)?' $*
hiegrep ' *static *'"$ERE_FUNCS"'[^)]*\);' 'static prototype, maybe you should reorder your functions' $*
hiegrep '@file: *[a-zA-Z0-9_]' 'doxy filetag with filename can in the future cause problems when forgotten during a rename' $*
+hiegrep '\bassert' 'Please use av_assert0, av_assert1 or av_assert2' $*
hiegrep2 '\.long_name *=' 'NULL_IF_CONFIG_SMAL' 'missing NULL_IF_CONFIG_SMAL' $*
hiegrep2 '\.pix_fmts *= *\(' 'const' 'missing const for pix_fmts array' $*