diff options
author | Peter Ross <pross@xvid.org> | 2011-03-18 22:28:52 +1100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-18 18:49:36 +0100 |
commit | a96c0059d8da241a39ec7283dacf3161964733d8 (patch) | |
tree | 37565893c78fbda0c135cb59b4e736a2cd630a7b /tools | |
parent | 133055c5e47b047b0806ccdeb42b82e418bd5dfa (diff) | |
download | ffmpeg-a96c0059d8da241a39ec7283dacf3161964733d8.tar.gz |
patcheck: warn about assert usage
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/patcheck | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/patcheck b/tools/patcheck index 5416603e19..c0f74e008b 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -82,6 +82,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' $* |