[FFmpeg-cvslog] lavu/mathematics: split closing bracket out of ifdefery

Clément Bœsch git at videolan.org
Sun Mar 19 00:52:47 EET 2017


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sat Mar 18 23:49:20 2017 +0100| [ea8efc959449573dd7fd29940240bdc1d671817d] | committer: Clément Bœsch

lavu/mathematics: split closing bracket out of ifdefery

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ea8efc959449573dd7fd29940240bdc1d671817d
---

 libavutil/mathematics.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavutil/mathematics.c b/libavutil/mathematics.c
index f378bc7..1bf044c 100644
--- a/libavutil/mathematics.c
+++ b/libavutil/mathematics.c
@@ -115,7 +115,6 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
         if (t1 > INT64_MAX)
             return INT64_MIN;
         return t1;
-    }
 #else
         /* reference code doing (a*b + r) / c, requires libavutil/integer.h */
         AVInteger ai;
@@ -123,8 +122,8 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
         ai = av_add_i(ai, av_int2i(r));
 
         return av_i2int(av_div_i(ai, av_int2i(c)));
-    }
 #endif
+    }
 }
 
 int64_t av_rescale(int64_t a, int64_t b, int64_t c)



More information about the ffmpeg-cvslog mailing list