[FFmpeg-cvslog] vaapi_encode: Remove unused function

Mark Thompson git at videolan.org
Mon Jun 3 23:18:04 EEST 2019


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Mon Jun  3 19:29:56 2019 +0100| [7056002796abc63c49421669c29f3cecfcdbebb4] | committer: Mark Thompson

vaapi_encode: Remove unused function

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7056002796abc63c49421669c29f3cecfcdbebb4
---

 libavcodec/vaapi_encode.c | 6 ------
 libavcodec/vaapi_encode.h | 3 ---
 2 files changed, 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);
 



More information about the ffmpeg-cvslog mailing list