1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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
This commit is contained in:
Panagiotis Issaris 2006-09-27 20:08:36 +00:00
parent 95c9943081
commit 0ec6065a34

View File

@ -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,