Commit c5125466 authored by Thierry Foucu's avatar Thierry Foucu Committed by Michael Niedermayer

Fix -Werror=parentheses error

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 1546d487
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment