summaryrefslogtreecommitdiff
path: root/libavcodec/x86/w64xmmtest.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-09-16 19:31:03 +0300
committerMartin Storsjö <martin@martin.st>2013-09-16 22:22:41 +0300
commit1daea5232fc9963ba93b1b6d07a2373f87c9b392 (patch)
tree3c2645099aaad2d0cf42d09c9f1ff72b7026798e /libavcodec/x86/w64xmmtest.c
parent73084391588b0f150737990038829cac5013dd68 (diff)
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 a8b6803daf..2f064cad7b 100644
--- a/libavcodec/x86/w64xmmtest.c
+++ b/libavcodec/x86/w64xmmtest.c
@@ -71,3 +71,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);
+}