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

Andreas Rheinhardt git at videolan.org
Thu Sep 7 02:19:35 EEST 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Sep  3 16:20:48 2023 +0200| [fd9bafc85ea396f7b65178311c560aa669c00ed2] | committer: Andreas Rheinhardt

avfilter/f_select: Also deprecate "pos" variable name

Forgotten in 27f8c9b27bce42a4a6a4c64e03fab769579c8683.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

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

diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index c9e216f51c..47e36f0014 100644
--- a/libavfilter/f_select.c
+++ b/libavfilter/f_select.c
@@ -82,7 +82,9 @@ static const char *const var_names[] = {
     "prev_selected_n",   ///< number of the last selected frame
 
     "key",               ///< tell if the frame is a key frame
+#if FF_API_FRAME_PKT
     "pos",               ///< original position in the file of the frame
+#endif
 
     "scene",
 



More information about the ffmpeg-cvslog mailing list