aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/w64xmmtest.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-09-16 19:31:03 +0300
committerMichael Niedermayer <michaelni@gmx.at>2013-09-17 10:53:23 +0200
commitede42109e73a0f836bca1a241369a5108003b91a (patch)
tree11e5674b68cf04bc56922a4553dfe636559d89bf /libavcodec/x86/w64xmmtest.c
parentff4548f223fc3021aad5ea5e23c86712e972f48e (diff)
downloadffmpeg-ede42109e73a0f836bca1a241369a5108003b91a.tar.gz
x86: Add an xmm clobbering wrapper for avcodec_encode_video2
This is required since 187105ff8 when we started trying to wrap this function as well. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/x86/w64xmmtest.c')
-rw-r--r--libavcodec/x86/w64xmmtest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/x86/w64xmmtest.c b/libavcodec/x86/w64xmmtest.c
index 8ece38409a..25e833fef3 100644
--- a/libavcodec/x86/w64xmmtest.c
+++ b/libavcodec/x86/w64xmmtest.c
@@ -78,3 +78,9 @@ wrap(avcodec_encode_subtitle(AVCodecContext *avctx,
{
testxmmclobbers(avcodec_encode_subtitle, avctx, buf, buf_size, sub);
}
+
+wrap(avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
+ const AVFrame *frame, int *got_packet_ptr))
+{
+ testxmmclobbers(avcodec_encode_video2, avctx, avpkt, frame, got_packet_ptr);
+}