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>
pull/390/head
Andreas Rheinhardt 2 years ago
parent 84fb7b9459
commit 9732684ba2
  1. 2
      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

Loading…
Cancel
Save