[Ffmpeg-devel] [PATCH] Use ff_eval for AVOption parsing
Panagiotis Issaris
takis.issaris
Tue Sep 26 18:35:55 CEST 2006
Hi,
Op zondag 24 september 2006 14:53, schreef Michael Niedermayer:
> [...]
> maybe something like
>
> ff_eval2(..., char **error);
> #if LIBAVCODEC_VERSION < ...
> attribute_deprecated ff_eval(eq, ...){
> char *error=NULL;
> double ret=ff_eval2(eq, ..., &error);
> if(error) av_log(..., error, eq);
> return ret;
> }
> #endif
Something like the attached patch? Followed by a patch using ff_eval2()
ofcourse...
eval.c | 56 +++++++++++++++++++++++++++++++++++---------------------
1 file changed, 35 insertions(+), 21 deletions(-)
Regression tests succeeded.
With friendly regards,
Takis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20060926T183002-ffmpeg-ff_eval_logging.diff
Type: text/x-diff
Size: 4231 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060926/b4baefbc/attachment.diff>
More information about the ffmpeg-devel
mailing list