diff options
author | James Almer <jamrial@gmail.com> | 2021-11-14 12:23:31 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-11-19 15:26:11 -0300 |
commit | 379f8b8ec6213789afc174d57c2751c52e66a8a7 (patch) | |
tree | fbbd336a05cc4249eda08e83edef150588e5d698 /fftools/ffmpeg.h | |
parent | ce8f77a903e1108bde774d5e0e59d8cd24f18c46 (diff) |
ffmpeg: remove unused hwaccel_get_buffer function pointer
As well as the custom get_buffer2() implementation which would become a
redundant wrapper for avcodec_default_get_buffer2() after this
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 545ff1c8e7..f27878b196 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -378,7 +378,6 @@ typedef struct InputStream { /* hwaccel context */ void *hwaccel_ctx; void (*hwaccel_uninit)(AVCodecContext *s); - int (*hwaccel_get_buffer)(AVCodecContext *s, AVFrame *frame, int flags); int (*hwaccel_retrieve_data)(AVCodecContext *s, AVFrame *frame); enum AVPixelFormat hwaccel_pix_fmt; enum AVPixelFormat hwaccel_retrieved_pix_fmt; |