[FFmpeg-cvslog] avfilter/avfilter: Also deprecate variable name

Andreas Rheinhardt git at videolan.org
Fri Aug 4 12:59:50 EEST 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Jul 29 05:17:22 2023 +0200| [9732684ba2865d05306d0ec41febabec2b9c96e5] | committer: Andreas Rheinhardt

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 at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9732684ba2865d05306d0ec41febabec2b9c96e5
---

 libavfilter/avfilter.c | 2 ++
 1 file changed, 2 insertions(+)

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



More information about the ffmpeg-cvslog mailing list