Browse Source

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>
tags/n2.1
Martin Storsjö Michael Niedermayer 12 years ago
parent
commit
ede42109e7
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libavcodec/x86/w64xmmtest.c

+ 6
- 0
libavcodec/x86/w64xmmtest.c View File

@@ -78,3 +78,9 @@ wrap(avcodec_encode_subtitle(AVCodecContext *avctx,
{ {
testxmmclobbers(avcodec_encode_subtitle, avctx, buf, buf_size, sub); 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);
}

Loading…
Cancel
Save