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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Foucu <tfoucu@gmail.com>2016-11-15 22:09:52 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-11-16 04:39:57 +0300
commitc512546689eb48c9ab4ece0a09619c18559b16c5 (patch)
tree4de22089e43cdbbe338249ae3a24825ff46e817c /libavcodec/internal.h
parent1546d487cf12da37d90a080813f8d57ac33036bf (diff)
Fix -Werror=parentheses error
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 35b9630b52..c92dba472a 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -262,7 +262,7 @@ static av_always_inline int64_t ff_samples_to_time_base(AVCodecContext *avctx,
static av_always_inline float ff_exp2fi(int x) {
/* Normal range */
if (-126 <= x && x <= 128)
- return av_int2float(x+127 << 23);
+ return av_int2float((x+127) << 23);
/* Too large */
else if (x > 128)
return INFINITY;