Browse Source

vaapi_encode: Remove unused function

tags/n4.2
Mark Thompson 6 years ago
parent
commit
7056002796
2 changed files with 0 additions and 9 deletions
  1. +0
    -6
      libavcodec/vaapi_encode.c
  2. +0
    -3
      libavcodec/vaapi_encode.h

+ 0
- 6
libavcodec/vaapi_encode.c View File

@@ -1047,12 +1047,6 @@ int ff_vaapi_encode_receive_packet(AVCodecContext *avctx, AVPacket *pkt)
return 0;
}

int ff_vaapi_encode2(AVCodecContext *avctx, AVPacket *pkt,
const AVFrame *input_image, int *got_packet)
{
return AVERROR(ENOSYS);
}

static av_cold void vaapi_encode_add_global_param(AVCodecContext *avctx,
VAEncMiscParameterBuffer *buffer,
size_t size)


+ 0
- 3
libavcodec/vaapi_encode.h View File

@@ -409,9 +409,6 @@ typedef struct VAAPIEncodeType {
} VAAPIEncodeType;


int ff_vaapi_encode2(AVCodecContext *avctx, AVPacket *pkt,
const AVFrame *input_image, int *got_packet);

int ff_vaapi_encode_send_frame(AVCodecContext *avctx, const AVFrame *frame);
int ff_vaapi_encode_receive_packet(AVCodecContext *avctx, AVPacket *pkt);



Loading…
Cancel
Save