diff options
Diffstat (limited to 'apps/codecs/libwmapro/libavutil/mathematics.c')
-rw-r--r-- | apps/codecs/libwmapro/libavutil/mathematics.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/libwmapro/libavutil/mathematics.c b/apps/codecs/libwmapro/libavutil/mathematics.c index 04f3e870d1..7af0104516 100644 --- a/apps/codecs/libwmapro/libavutil/mathematics.c +++ b/apps/codecs/libwmapro/libavutil/mathematics.c | |||
@@ -23,7 +23,7 @@ | |||
23 | * miscellaneous math routines and tables | 23 | * miscellaneous math routines and tables |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include <assert.h> | 26 | //#include <assert.h> |
27 | #include <stdint.h> | 27 | #include <stdint.h> |
28 | #include <limits.h> | 28 | #include <limits.h> |
29 | #include "mathematics.h" | 29 | #include "mathematics.h" |
@@ -76,9 +76,9 @@ int64_t av_gcd(int64_t a, int64_t b){ | |||
76 | 76 | ||
77 | int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd){ | 77 | int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd){ |
78 | int64_t r=0; | 78 | int64_t r=0; |
79 | assert(c > 0); | 79 | //assert(c > 0); |
80 | assert(b >=0); | 80 | //assert(b >=0); |
81 | assert(rnd >=0 && rnd<=5 && rnd!=4); | 81 | //assert(rnd >=0 && rnd<=5 && rnd!=4); |
82 | 82 | ||
83 | if(a<0 && a != INT64_MIN) return -av_rescale_rnd(-a, b, c, rnd ^ ((rnd>>1)&1)); | 83 | if(a<0 && a != INT64_MIN) return -av_rescale_rnd(-a, b, c, rnd ^ ((rnd>>1)&1)); |
84 | 84 | ||