aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-07-29 23:24:27 +0200
committerDiego Biurrun <diego@biurrun.de>2016-08-17 12:16:42 +0200
commit00a0419c7f7ebce9010cba93b7ff67c9f1165815 (patch)
treeada80362cdc0ee3a38fe81057cc975b9d4cbeff9
parent5a667322f5cb0e77c15891fc06725c19d8f3314f (diff)
downloadffmpeg-00a0419c7f7ebce9010cba93b7ff67c9f1165815.tar.gz
mathematics: Kill non-compiling disabled cruft
-rw-r--r--libavutil/mathematics.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavutil/mathematics.c b/libavutil/mathematics.c
index c9b24afeac..617726d897 100644
--- a/libavutil/mathematics.c
+++ b/libavutil/mathematics.c
@@ -58,7 +58,6 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
else
return a / c * b + (a % c * b + r) / c;
} else {
-#if 1
uint64_t a0 = a & 0xFFFFFFFF;
uint64_t a1 = a >> 32;
uint64_t b0 = b & 0xFFFFFFFF;
@@ -82,14 +81,6 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
}
return t1;
}
-#else
- AVInteger ai;
- ai = av_mul_i(av_int2i(a), av_int2i(b));
- ai = av_add_i(ai, av_int2i(r));
-
- return av_i2int(av_div_i(ai, av_int2i(c)));
- }
-#endif
}
int64_t av_rescale(int64_t a, int64_t b, int64_t c)