summaryrefslogtreecommitdiff
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-07-30 13:47:34 +0200
committerDiego Biurrun <diego@biurrun.de>2016-08-17 12:16:42 +0200
commitaa37d2bf4505afc106e2a23c44afc722bb204a8e (patch)
tree37e5b2c35b8eccaeae6a6430190d21fdef90501e /libswscale/utils.c
parentd5fda00efa756387cffb4d7294691cd54cfe86cf (diff)
swscale: Kill non-compiling disabled cruft
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index ba65e2a455..c4fb7451eb 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -372,13 +372,6 @@ static av_cold int initFilter(int16_t **outFilter, int32_t **filterPos,
}
coeff *= fone >> (30 + 24);
}
-#if 0
- else if (flags & SWS_X) {
- double p = param ? param * 0.01 : 0.3;
- coeff = d ? sin(d * M_PI) / (d * M_PI) : 1.0;
- coeff *= pow(2.0, -p * d * d);
- }
-#endif
else if (flags & SWS_X) {
double A = param[0] != SWS_PARAM_DEFAULT ? param[0] : 1.0;
double c;