Re: [FFmpeg-devel] [PATCH 1/3] avutil/eval: separate AVExpr state to a new AVExprState struct

2019-12-30 Thread Michael Niedermayer
On Sun, Dec 29, 2019 at 04:46:12PM +0100, Marton Balint wrote: > > > On Sun, 29 Dec 2019, Michael Niedermayer wrote: > > >On Sat, Dec 28, 2019 at 03:46:23PM +0100, Marton Balint wrote: > >>Also add helper functions to allocate and free such a struct, and make it > >>usable by providing a new av_

Re: [FFmpeg-devel] [PATCH 1/3] avutil/eval: separate AVExpr state to a new AVExprState struct

2019-12-29 Thread Marton Balint
On Sun, 29 Dec 2019, Michael Niedermayer wrote: On Sat, Dec 28, 2019 at 03:46:23PM +0100, Marton Balint wrote: Also add helper functions to allocate and free such a struct, and make it usable by providing a new av_eval_expr2 function for which you can specify a custom AVExprState. Signed-off

Re: [FFmpeg-devel] [PATCH 1/3] avutil/eval: separate AVExpr state to a new AVExprState struct

2019-12-29 Thread Michael Niedermayer
On Sat, Dec 28, 2019 at 03:46:23PM +0100, Marton Balint wrote: > Also add helper functions to allocate and free such a struct, and make it > usable by providing a new av_eval_expr2 function for which you can specify a > custom AVExprState. > > Signed-off-by: Marton Balint > --- > doc/APIchanges

[FFmpeg-devel] [PATCH 1/3] avutil/eval: separate AVExpr state to a new AVExprState struct

2019-12-28 Thread Marton Balint
Also add helper functions to allocate and free such a struct, and make it usable by providing a new av_eval_expr2 function for which you can specify a custom AVExprState. Signed-off-by: Marton Balint --- doc/APIchanges | 3 +++ libavutil/eval.c| 31 +-- liba