diff options
author | Mark Thompson <sw@jkqxz.net> | 2019-06-03 19:29:56 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2019-06-03 21:16:22 +0100 |
commit | 7056002796abc63c49421669c29f3cecfcdbebb4 (patch) | |
tree | cc3e11789c38dd6998425763ec4febe00d27bc40 | |
parent | 97ddc5d1f741ed246fd81234a4ec3d3ef7038593 (diff) | |
download | ffmpeg-7056002796abc63c49421669c29f3cecfcdbebb4.tar.gz |
vaapi_encode: Remove unused function
-rw-r--r-- | libavcodec/vaapi_encode.c | 6 | ||||
-rw-r--r-- | libavcodec/vaapi_encode.h | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index c3d8944c3c..eda8b1307d 100644 --- a/libavcodec/vaapi_encode.c +++ b/libavcodec/vaapi_encode.c @@ -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) diff --git a/libavcodec/vaapi_encode.h b/libavcodec/vaapi_encode.h index 12efee2d08..945660641a 100644 --- a/libavcodec/vaapi_encode.h +++ b/libavcodec/vaapi_encode.h @@ -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); |