diff mbox series

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

Message ID DU0P250MB0747880F6D0FB7A93C6A4B1C8FEAA@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit fd9bafc85ea396f7b65178311c560aa669c00ed2
Headers show
Series [FFmpeg-devel] avformat/avformat: Avoid including codec.h, frame.h | expand

Commit Message

Andreas Rheinhardt Sept. 3, 2023, 2:22 p.m. UTC
Forgotten in 27f8c9b27bce42a4a6a4c64e03fab769579c8683.

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

Patch

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",