aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_transpose_vaapi.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-17 05:48:27 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-17 19:13:16 +0200
commit1aa640c7d785c39e0e19407521132d77b594e654 (patch)
treecd0e2657493e2c80f11c056b630cd3bb52674452 /libavfilter/vf_transpose_vaapi.c
parent90550856e5182487bdfbb0527110e4b94ac5ec0f (diff)
downloadffmpeg-1aa640c7d785c39e0e19407521132d77b594e654.tar.gz
avfilter/internal: Combine get_(audio|video)_buffer into union
These fields are mutually exclusive, so putting them in a union is possible and makes AVFilterPad smaller. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_transpose_vaapi.c')
-rw-r--r--libavfilter/vf_transpose_vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_transpose_vaapi.c b/libavfilter/vf_transpose_vaapi.c
index 79413e0eeb..0d11c6b674 100644
--- a/libavfilter/vf_transpose_vaapi.c
+++ b/libavfilter/vf_transpose_vaapi.c
@@ -257,7 +257,7 @@ static const AVFilterPad transpose_vaapi_inputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = &transpose_vaapi_filter_frame,
- .get_video_buffer = get_video_buffer,
+ .get_buffer.video = get_video_buffer,
.config_props = &ff_vaapi_vpp_config_input,
},
{ NULL }