[FFmpeg-cvslog] r20493 - trunk/tools/patcheck
reimar
subversion
Tue Nov 10 00:12:44 CET 2009
Author: reimar
Date: Tue Nov 10 00:12:44 2009
New Revision: 20493
Log:
patcheck: check that pix_fmt etc. initializers are const
Modified:
trunk/tools/patcheck
Modified: trunk/tools/patcheck
==============================================================================
--- trunk/tools/patcheck Tue Nov 10 00:09:47 2009 (r20492)
+++ trunk/tools/patcheck Tue Nov 10 00:12:44 2009 (r20493)
@@ -72,6 +72,10 @@ hiegrep '(:\+|,|;)( *|static|\*)*'"$ERE_
hiegrep ' *static *'"$ERE_FUNCS"'[^)]*\);' 'static prototype, maybe you should reorder your functions' $*
hiegrep2 '\.long_name *=' 'NULL_IF_CONFIG_SMAL' 'missing NULL_IF_CONFIG_SMAL' $*
+hiegrep2 '\.pix_fmts *= *(' 'const' 'missing const for pix_fmts array' $*
+hiegrep2 '\.sample_fmts *= *(' 'const' 'missing const for sample_fmts array' $*
+hiegrep2 '\.supported_framerates *= *(' 'const' 'missing const for supported_framerates array' $*
+hiegrep2 '\.channel_layouts *= *(' 'const' 'missing const for channel_layouts array' $*
#egrep $OPT '^\+.*const ' $*| grep -v 'static'> $TMP && printf '\nnon static const\n'
#cat $TMP
More information about the ffmpeg-cvslog
mailing list