Mercurial > libavcodec.hg
comparison eval.c @ 3779:3f7aa9fa5c98 libavcodec
Break compatibility only when first part of version number changes, in this
specific case for ff_eval deprecation.
| author | takis |
|---|---|
| date | Wed, 27 Sep 2006 20:08:36 +0000 |
| parents | 67a63fa775a7 |
| children | 3a151ccc6ed7 |
comparison
equal
deleted
inserted
replaced
| 3778:67a63fa775a7 | 3779:3f7aa9fa5c98 |
|---|---|
| 262 p.error= error; | 262 p.error= error; |
| 263 | 263 |
| 264 return evalExpression(&p); | 264 return evalExpression(&p); |
| 265 } | 265 } |
| 266 | 266 |
| 267 #if LIBAVCODEC_VERSION_INT < ((51<<16)+(17<<8)+0) | 267 #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) |
| 268 attribute_deprecated double ff_eval(char *s, double *const_value, const char **const_name, | 268 attribute_deprecated double ff_eval(char *s, double *const_value, const char **const_name, |
| 269 double (**func1)(void *, double), const char **func1_name, | 269 double (**func1)(void *, double), const char **func1_name, |
| 270 double (**func2)(void *, double, double), char **func2_name, | 270 double (**func2)(void *, double, double), char **func2_name, |
| 271 void *opaque){ | 271 void *opaque){ |
| 272 char *error=NULL; | 272 char *error=NULL; |
