1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

Fix -Werror=parentheses error

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Thierry Foucu
2016-11-15 11:09:52 -08:00
committed by Michael Niedermayer
parent 1546d487cf
commit c512546689

View File

@@ -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;