Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/tx_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/tx_priv.h b/libavutil/tx_priv.h
index 3195cb51b2..fb61119009 100644
--- a/libavutil/tx_priv.h
+++ b/libavutil/tx_priv.h
@@ -124,7 +124,7 @@ typedef void TXComplex;
} while (0)
#define UNSCALE(x) ((double)(x)/2147483648.0)
-#define RESCALE(x) (av_clip64(lrintf((x) * 2147483648.0), INT32_MIN, INT32_MAX))
+#define RESCALE(x) (av_clip64(llrintf((x) * 2147483648.0), INT32_MIN, INT32_MAX))
#define FOLD(x, y) ((int32_t)((x) + (unsigned)(y) + 32) >> 6)