[FFmpeg-devel] [PATCH 1/2] checkasm: Explicitly declare function prototypes
Michael Niedermayer
michael at niedermayer.cc
Tue Aug 18 20:41:56 CEST 2015
On Sun, Aug 16, 2015 at 06:40:56PM +0200, Henrik Gramner wrote:
> Now we no longer have to rely on function pointers intentionally
> declared without specified argument types.
>
> This makes it easier to support functions with floating point parameters
> or return values as well as functions returning 64-bit values on 32-bit
> architectures. It also avoids having to explicitly cast strides to
> ptrdiff_t for example.
> ---
> tests/checkasm/Makefile | 3 +--
> tests/checkasm/bswapdsp.c | 2 ++
> tests/checkasm/checkasm.c | 6 +++---
> tests/checkasm/checkasm.h | 38 ++++++++++++++++++++++----------------
> tests/checkasm/h264pred.c | 32 ++++++++++++++++++++------------
> tests/checkasm/h264qpel.c | 7 ++++---
> tests/checkasm/x86/checkasm.asm | 4 ++--
> 7 files changed, 54 insertions(+), 38 deletions(-)
tested on 32&64bit x86, qemu arm & mips
should be ok
Thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150818/c4fecff6/attachment.sig>
More information about the ffmpeg-devel
mailing list