[FFmpeg-cvslog] avutil: move QP2LAMBDA constant to eval

Michael Niedermayer git at videolan.org
Mon Jul 21 17:01:27 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jul 21 15:30:45 2014 +0200| [88efc013b10cbbb5c6b4281c88c4ad1f66d45af8] | committer: Michael Niedermayer

avutil: move QP2LAMBDA constant to eval

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=88efc013b10cbbb5c6b4281c88c4ad1f66d45af8
---

 libavutil/eval.c |    1 +
 libavutil/opt.c  |    2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavutil/eval.c b/libavutil/eval.c
index 67b0a5f..99993b9 100644
--- a/libavutil/eval.c
+++ b/libavutil/eval.c
@@ -86,6 +86,7 @@ static const struct {
     { "E",   M_E   },
     { "PI",  M_PI  },
     { "PHI", M_PHI },
+    { "QP2LAMBDA", FF_QP2LAMBDA },
 };
 
 double av_strtod(const char *numstr, char **tail)
diff --git a/libavutil/opt.c b/libavutil/opt.c
index 56ed4eb..9ea4aa5 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -132,14 +132,12 @@ static int write_number(void *obj, const AVOption *o, void *dst, double num, int
 static const double const_values[] = {
     M_PI,
     M_E,
-    FF_QP2LAMBDA,
     0
 };
 
 static const char * const const_names[] = {
     "PI",
     "E",
-    "QP2LAMBDA",
     0
 };
 



More information about the ffmpeg-cvslog mailing list