From 42111e8543b18dd50dbdc47d2c8eb0cef23daac0 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 2 Oct 2016 02:15:47 -0300 Subject: [PATCH] avcodec: fix arguments on xmm/neon clobber test wrappers Signed-off-by: James Almer --- libavcodec/aarch64/neontest.c | 4 ++-- libavcodec/arm/neontest.c | 4 ++-- libavcodec/x86/w64xmmtest.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/aarch64/neontest.c b/libavcodec/aarch64/neontest.c index 93f162d0c4..1e9ef167e3 100644 --- a/libavcodec/aarch64/neontest.c +++ b/libavcodec/aarch64/neontest.c @@ -90,10 +90,10 @@ wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)) wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) { - testneonclobbers(avcodec_send_frame, avctx, avpkt); + testneonclobbers(avcodec_send_frame, avctx, frame); } wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) { - testneonclobbers(avcodec_receive_packet, avctx, frame); + testneonclobbers(avcodec_receive_packet, avctx, avpkt); } diff --git a/libavcodec/arm/neontest.c b/libavcodec/arm/neontest.c index b24120c0aa..56f950abe0 100644 --- a/libavcodec/arm/neontest.c +++ b/libavcodec/arm/neontest.c @@ -90,10 +90,10 @@ wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)) wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) { - testneonclobbers(avcodec_send_frame, avctx, avpkt); + testneonclobbers(avcodec_send_frame, avctx, frame); } wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) { - testneonclobbers(avcodec_receive_packet, avctx, frame); + testneonclobbers(avcodec_receive_packet, avctx, avpkt); } diff --git a/libavcodec/x86/w64xmmtest.c b/libavcodec/x86/w64xmmtest.c index d76a322a73..7d4a6630c2 100644 --- a/libavcodec/x86/w64xmmtest.c +++ b/libavcodec/x86/w64xmmtest.c @@ -90,10 +90,10 @@ wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)) wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) { - testxmmclobbers(avcodec_send_frame, avctx, avpkt); + testxmmclobbers(avcodec_send_frame, avctx, frame); } wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) { - testxmmclobbers(avcodec_receive_packet, avctx, frame); + testxmmclobbers(avcodec_receive_packet, avctx, avpkt); }