]> git.sesse.net Git - ffmpeg/commitdiff
x86: Add an xmm clobbering wrapper for avcodec_encode_video2
authorMartin Storsjö <martin@martin.st>
Mon, 16 Sep 2013 16:31:03 +0000 (19:31 +0300)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Sep 2013 08:53:23 +0000 (10:53 +0200)
This is required since 187105ff8 when we started trying to
wrap this function as well.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/x86/w64xmmtest.c

index 8ece38409a06cd2ad5b0aaf8a8ae6a7c54373378..25e833fef3fac157efaf2f5203fba35a8adf6d99 100644 (file)
@@ -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);
+}