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>
This commit is contained in:
Andreas Rheinhardt 2023-07-29 05:17:22 +02:00
parent 84fb7b9459
commit 9732684ba2

View File

@ -478,7 +478,9 @@ static int ff_request_frame_to_filter(AVFilterLink *link)
static const char *const var_names[] = { static const char *const var_names[] = {
"t", "t",
"n", "n",
#if FF_API_FRAME_PKT
"pos", "pos",
#endif
"w", "w",
"h", "h",
NULL NULL