Skip to content
Snippets Groups Projects
Commit c5125466 authored by Thierry Foucu's avatar Thierry Foucu Committed by Michael Niedermayer
Browse files

Fix -Werror=parentheses error

parent 1546d487
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment