[FFmpeg-cvslog] libmodplug: remove mathematical constants now redundant.

Nicolas George git at videolan.org
Thu Oct 13 18:33:21 CEST 2011


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Thu Oct 13 17:54:11 2011 +0200| [c722c88eb6491bb554f50cd9ba8dd894d6294c15] | committer: Michael Niedermayer

libmodplug: remove mathematical constants now redundant.

Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/libmodplug.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/libavformat/libmodplug.c b/libavformat/libmodplug.c
index 83e9322..5e9121f 100644
--- a/libavformat/libmodplug.c
+++ b/libavformat/libmodplug.c
@@ -59,7 +59,6 @@ typedef struct ModPlugContext {
 } ModPlugContext;
 
 static const char *var_names[] = {
-    "E", "PHI", "PI",
     "x", "y",
     "w", "h",
     "t",
@@ -68,7 +67,6 @@ static const char *var_names[] = {
 };
 
 enum var_name {
-    VAR_E, VAR_PHI, VAR_PI,
     VAR_X, VAR_Y,
     VAR_W, VAR_H,
     VAR_TIME,
@@ -275,9 +273,6 @@ static int modplug_read_packet(AVFormatContext *s, AVPacket *pkt)
         if (modplug->video_switch) {
             double var_values[VAR_VARS_NB];
 
-            var_values[VAR_E      ] = M_E;
-            var_values[VAR_PHI    ] = M_PHI;
-            var_values[VAR_PI     ] = M_PI;
             var_values[VAR_W      ] = modplug->w;
             var_values[VAR_H      ] = modplug->h;
             var_values[VAR_TIME   ] = modplug->packet_count * modplug->ts_per_packet;



More information about the ffmpeg-cvslog mailing list