diff options
author | Zuxy Meng <zuxy.meng@gmail.com> | 2008-03-18 15:27:15 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-03-18 15:27:15 +0000 |
commit | 6544f48f038552973a552401cea5d4e8f1fc9c0a (patch) | |
tree | df001b9633d7c0cd7407cc0566e21917edf73d7b /libavutil/mathematics.h | |
parent | 38c669d853dfa60a73bf59695ff03e7104650623 (diff) | |
download | ffmpeg-6544f48f038552973a552401cea5d4e8f1fc9c0a.tar.gz |
Pure, const and malloc attributes to libavutil.
Patch by Zuxy Meng: zuxy meng gmail com
Original thread:
[FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil
Date: 03/18/2008 6:09 AM
Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/mathematics.h')
-rw-r--r-- | libavutil/mathematics.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h index fa407b6111..a9dfe7eccf 100644 --- a/libavutil/mathematics.h +++ b/libavutil/mathematics.h @@ -36,17 +36,17 @@ enum AVRounding { * rescale a 64bit integer with rounding to nearest. * a simple a*b/c isn't possible as it can overflow */ -int64_t av_rescale(int64_t a, int64_t b, int64_t c); +int64_t av_rescale(int64_t a, int64_t b, int64_t c) av_const; /** * rescale a 64bit integer with specified rounding. * a simple a*b/c isn't possible as it can overflow */ -int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding); +int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding) av_const; /** * rescale a 64bit integer by 2 rational numbers. */ -int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq); +int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const; #endif /* FFMPEG_MATHEMATICS_H */ |