[FFmpeg-devel] [PATCH 11/11] avfilter/f_select: Also deprecate "pos" variable name

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Sep 3 17:22:21 EEST 2023


Forgotten in 27f8c9b27bce42a4a6a4c64e03fab769579c8683.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavfilter/f_select.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index 49fcdc31ff..64599f085a 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",
 
-- 
2.34.1



More information about the ffmpeg-devel mailing list