« Previous | Next » 

Revision fc7e2d34

Parent 82fdcd44
Child 309d16a4

Added by Stefano Sabatini almost 11 years ago

Fix constness for func12 parameters in ff_parse_expr() and

Change func12 attributes from "** func" to "* const * func".

This is consistent with the semantics of the provided arrays of
functions, which are not supposed to be changed by the ff_parse_*

Also fix the GCC compilation warnings:
libavcodec/ratecontrol.c: In function ‘ff_rate_control_init’:
libavcodec/ratecontrol.c:109: warning: passing argument 3 of ‘ff_parse_expr’ discards qualifiers from pointer target type
libavcodec/eval.h:69: note: expected ‘double (*)(void *, double)’ but argument is of type ‘double ( const*)(void *, double)’

Originally committed as revision 22860 to svn://svn.ffmpeg.org/ffmpeg/trunk


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences