diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2011-10-13 17:54:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-13 18:08:50 +0200 |
commit | db820c3c1338eb4a39ce2c4eec0f9e8f4891b72a (patch) | |
tree | 291252672e8d91e0f2f84ac41d191325f11c9aa6 /libavfilter | |
parent | 1a3fa3ab2c03b6c8c50bcc8a77ad71cac3e7cf15 (diff) | |
download | ffmpeg-db820c3c1338eb4a39ce2c4eec0f9e8f4891b72a.tar.gz |
vf_setpts: remove mathematical constants now redundant.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_setpts.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavfilter/vf_setpts.c b/libavfilter/vf_setpts.c index ace2595346..1223be5054 100644 --- a/libavfilter/vf_setpts.c +++ b/libavfilter/vf_setpts.c @@ -31,11 +31,8 @@ #include "avfilter.h" static const char *var_names[] = { - "E", ///< Euler number "INTERLACED", ///< tell if the current frame is interlaced "N", ///< frame number (starting at zero) - "PHI", ///< golden ratio - "PI", ///< greek pi "POS", ///< original position in the file of the frame "PREV_INPTS", ///< previous input PTS "PREV_OUTPTS", ///< previous output PTS @@ -46,11 +43,8 @@ static const char *var_names[] = { }; enum var_name { - VAR_E, VAR_INTERLACED, VAR_N, - VAR_PHI, - VAR_PI, VAR_POS, VAR_PREV_INPTS, VAR_PREV_OUTPTS, @@ -76,10 +70,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) return ret; } - setpts->var_values[VAR_E ] = M_E; setpts->var_values[VAR_N ] = 0.0; - setpts->var_values[VAR_PHI ] = M_PHI; - setpts->var_values[VAR_PI ] = M_PI; setpts->var_values[VAR_PREV_INPTS ] = NAN; setpts->var_values[VAR_PREV_OUTPTS] = NAN; setpts->var_values[VAR_STARTPTS ] = NAN; |