Break compatibility only when first part of version number changes, in this

specific case for ff_eval deprecation.

Originally committed as revision 6358 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Panagiotis Issaris 19 years ago
parent 95c9943081
commit 0ec6065a34
  1. 2
      libavcodec/eval.c

@ -264,7 +264,7 @@ double ff_eval2(char *s, double *const_value, const char **const_name,
return evalExpression(&p);
}
#if LIBAVCODEC_VERSION_INT < ((51<<16)+(17<<8)+0)
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
attribute_deprecated double ff_eval(char *s, double *const_value, const char **const_name,
double (**func1)(void *, double), const char **func1_name,
double (**func2)(void *, double, double), char **func2_name,

Loading…
Cancel
Save