aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-07-29 05:17:22 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-04 11:47:32 +0200
commit9732684ba2865d05306d0ec41febabec2b9c96e5 (patch)
tree020efbcf7e76a11beb8ecbb9fb6d247f482653b4 /libavfilter/avfilter.c
parent84fb7b94593ade8fe968aa17c0945ba757f84305 (diff)
downloadffmpeg-9732684ba2865d05306d0ec41febabec2b9c96e5.tar.gz
avfilter/avfilter: Also deprecate variable name
Otherwise the var_names and the corresponding enum will be off and e.g. the array holding the variable values will be too small. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 04887b6ee5..b8e1523bdb 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -478,7 +478,9 @@ static int ff_request_frame_to_filter(AVFilterLink *link)
static const char *const var_names[] = {
"t",
"n",
+#if FF_API_FRAME_PKT
"pos",
+#endif
"w",
"h",
NULL