[FFmpeg-cvslog] softfloat: make av_div_sf() inline
James Almer
git at videolan.org
Sun Jun 14 03:29:05 CEST 2015
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Jun 13 00:20:37 2015 -0300| [20abb1afe5d7c4d51172f19e99a82ada505c9039] | committer: James Almer
softfloat: make av_div_sf() inline
Removes a defined but not used warning on files including softfloat.h
Reviewed-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=20abb1afe5d7c4d51172f19e99a82ada505c9039
---
libavutil/softfloat.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index 70a9adf..4272363 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);
More information about the ffmpeg-cvslog
mailing list