[FFmpeg-cvslog] mathematics: Make function prototypes identical to definitions

Timothy Gu git at videolan.org
Tue Aug 2 19:01:25 EEST 2016


ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Sat Jul 30 12:02:20 2016 -0700| [1fcf243216259d871f55d23d256da90beed4f46f] | committer: Timothy Gu

mathematics: Make function prototypes identical to definitions

Doxygen gets confused by this.

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

 libavutil/mathematics.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h
index 57c44f8..1a6812f 100644
--- a/libavutil/mathematics.h
+++ b/libavutil/mathematics.h
@@ -97,7 +97,7 @@ int64_t av_rescale(int64_t a, int64_t b, int64_t c) av_const;
  * @return rescaled value a, or if AV_ROUND_PASS_MINMAX is set and a is
  *         INT64_MIN or INT64_MAX then a is passed through unchanged.
  */
-int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding) av_const;
+int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd) av_const;
 
 /**
  * Rescale a 64-bit integer by 2 rational numbers.
@@ -111,7 +111,7 @@ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const;
  *         INT64_MIN or INT64_MAX then a is passed through unchanged.
  */
 int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq,
-                         enum AVRounding) av_const;
+                         enum AVRounding rnd) av_const;
 
 /**
  * Compare 2 timestamps each in its own timebases.



More information about the ffmpeg-cvslog mailing list