aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/softfloat.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-06-13 00:20:37 -0300
committerJames Almer <jamrial@gmail.com>2015-06-13 22:28:39 -0300
commit20abb1afe5d7c4d51172f19e99a82ada505c9039 (patch)
tree45728d29c7ade966131238af38c16cfb25d9422d /libavutil/softfloat.h
parent612f8cae0640566668d8091a4c4c0093470c1163 (diff)
downloadffmpeg-20abb1afe5d7c4d51172f19e99a82ada505c9039.tar.gz
softfloat: make av_div_sf() inline
Removes a defined but not used warning on files including softfloat.h Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/softfloat.h')
-rw-r--r--libavutil/softfloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index 70a9adfd27..4272363489 100644
--- a/libavutil/softfloat.h
+++ b/libavutil/softfloat.h
@@ -97,7 +97,7 @@ static inline av_const SoftFloat av_mul_sf(SoftFloat a, SoftFloat b){
* b has to be normalized and not zero.
* @return Will not be more denormalized than a.
*/
-static av_const SoftFloat av_div_sf(SoftFloat a, SoftFloat b){
+static inline av_const SoftFloat av_div_sf(SoftFloat a, SoftFloat b){
a.exp -= b.exp;
a.mant = ((int64_t)a.mant<<(ONE_BITS+1)) / b.mant;
return av_normalize1_sf(a);