[FFmpeg-cvslog] x86/intmath: fix type of FASTDIV
Michael Niedermayer
git at videolan.org
Tue Jun 19 16:29:20 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jun 19 16:08:44 2012 +0200| [97726e86be8973ac72cbbd7fc723bad929572074] | committer: Michael Niedermayer
x86/intmath: fix type of FASTDIV
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=97726e86be8973ac72cbbd7fc723bad929572074
---
libavutil/x86/intmath.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/x86/intmath.h b/libavutil/x86/intmath.h
index f3acddc..4b38643 100644
--- a/libavutil/x86/intmath.h
+++ b/libavutil/x86/intmath.h
@@ -27,7 +27,7 @@
__asm__ volatile(\
"mull %3"\
:"=d"(ret), "=a"(dmy)\
- :"1"(a), "g"(ff_inverse[b])\
+ :"1"((unsigned int)(a)), "g"(ff_inverse[b])\
);\
ret;\
})
More information about the ffmpeg-cvslog
mailing list