[FFmpeg-devel] [PATCH] avutil/eval: add function to track variable use

Michael Niedermayer michael at niedermayer.cc
Tue Nov 5 01:05:30 EET 2019


On Sun, Nov 03, 2019 at 11:14:25AM +0530, Gyan wrote:
> 
> Helps better identification of expr eval failures.
> 
> Gyan

>  eval.c    |   21 +++++++++++++++++++++
>  eval.h    |   10 ++++++++++
>  version.h |    4 ++--
>  3 files changed, 33 insertions(+), 2 deletions(-)
> 3dd142baa0144fd324eb9da8a9932cfd7ab2cd98  0001-avutil-eval-add-function-to-track-variable-use.patch
> From 19bce329464676f071707b99575f80e5abe1cd4c Mon Sep 17 00:00:00 2001
> From: Gyan Doshi <ffmpeg at gyani.pro>
> Date: Sat, 2 Nov 2019 20:16:42 +0530
> Subject: [PATCH] avutil/eval: add function to track variable use
> 
> Helps avoid multiple evals of cross-referenced expressions
> and catch the use of non-applicable variables with respect
> to eval or special mode in filters

Maybe you should provide more details of the use case of this, maybe
with an example. Because it seems not completely obvious

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191105/83d8afa1/attachment.sig>


More information about the ffmpeg-devel mailing list