History

vaapi_encode: Remove unused function

Mark Thompson committed 7 years ago

Commit 70560021 parent 97ddc5d2 files · +0 −9Browse files

Unified · Split

2 files
  1. libavcodec/vaapi_encode.c +0 −6
  2. libavcodec/vaapi_encode.h +0 −3
libavcodec/vaapi_encode.c+0−6
@@ -1047,12 +1047,6 @@ int ff_vaapi_encode_receive_packet(AVCodecContext *avctx, AVPacket *pkt) · 1046 unmodified lines
10471047 return 0;
10481048 }
10491049
1050−int ff_vaapi_encode2(AVCodecContext *avctx, AVPacket *pkt,
1051− const AVFrame *input_image, int *got_packet)
1052−{
1053− return AVERROR(ENOSYS);
1054−}
1055−
10561050 static av_cold void vaapi_encode_add_global_param(AVCodecContext *avctx,
10571051 VAEncMiscParameterBuffer *buffer,
10581052 size_t size)
libavcodec/vaapi_encode.h+0−3
@@ -409,9 +409,6 @@ typedef struct VAAPIEncodeType { · 408 unmodified lines
409409 } VAAPIEncodeType;
410410
411411
412−int ff_vaapi_encode2(AVCodecContext *avctx, AVPacket *pkt,
413− const AVFrame *input_image, int *got_packet);
414−
415412 int ff_vaapi_encode_send_frame(AVCodecContext *avctx, const AVFrame *frame);
416413 int ff_vaapi_encode_receive_packet(AVCodecContext *avctx, AVPacket *pkt);
417414

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t