[FFmpeg-cvslog] avcodec: fix arguments on xmm/neon clobber test wrappers

James Almer git at videolan.org
Sun Oct 2 08:18:01 EEST 2016


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Oct  2 02:15:47 2016 -0300| [42111e8543b18dd50dbdc47d2c8eb0cef23daac0] | committer: James Almer

avcodec: fix arguments on xmm/neon clobber test wrappers

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=42111e8543b18dd50dbdc47d2c8eb0cef23daac0
---

 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 93f162d..1e9ef16 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 b24120c..56f950a 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 d76a322..7d4a663 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);
 }



More information about the ffmpeg-cvslog mailing list