vaapi_encode: Remove unused function
authorMark Thompson <sw@jkqxz.net>
Mon, 3 Jun 2019 18:29:56 +0000 (19:29 +0100)
committerMark Thompson <sw@jkqxz.net>
Mon, 3 Jun 2019 20:16:22 +0000 (21:16 +0100)
libavcodec/vaapi_encode.c
libavcodec/vaapi_encode.h

index c3d8944..eda8b13 100644 (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)
index 12efee2..9456606 100644 (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);