diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2011-10-13 17:54:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-13 18:08:50 +0200 |
commit | 1a3fa3ab2c03b6c8c50bcc8a77ad71cac3e7cf15 (patch) | |
tree | b0fc4821a0722fba45721f6c6b7bad7c7ecd7039 | |
parent | 3b316f9f22483d9f9e2f2efdbb5c8213eb87b310 (diff) | |
download | ffmpeg-1a3fa3ab2c03b6c8c50bcc8a77ad71cac3e7cf15.tar.gz |
vf_select: remove mathematical constants now redundant.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | doc/filters.texi | 9 | ||||
-rw-r--r-- | libavfilter/vf_select.c | 12 |
2 files changed, 0 insertions, 21 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index fd78a5f054..18220e2f6e 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1744,15 +1744,6 @@ is selected and passed to the output, otherwise it is discarded. The expression can contain the following constants: @table @option -@item PI -Greek PI - -@item PHI -golden ratio - -@item E -Euler number - @item n the sequential number of the filtered frame, starting from 0 diff --git a/libavfilter/vf_select.c b/libavfilter/vf_select.c index 3ba2670a0f..262cccf246 100644 --- a/libavfilter/vf_select.c +++ b/libavfilter/vf_select.c @@ -28,10 +28,6 @@ #include "avfilter.h" static const char *var_names[] = { - "E", ///< Euler number - "PHI", ///< golden ratio - "PI", ///< greek pi - "TB", ///< timebase "pts", ///< original pts in the file of the frame @@ -69,10 +65,6 @@ static const char *var_names[] = { }; enum var_name { - VAR_E, - VAR_PHI, - VAR_PI, - VAR_TB, VAR_PTS, @@ -146,10 +138,6 @@ static int config_input(AVFilterLink *inlink) { SelectContext *select = inlink->dst->priv; - select->var_values[VAR_E] = M_E; - select->var_values[VAR_PHI] = M_PHI; - select->var_values[VAR_PI] = M_PI; - select->var_values[VAR_N] = 0.0; select->var_values[VAR_SELECTED_N] = 0.0; |