[FFmpeg-devel] [PATCH 10/11] avfilter/af_volume: Also deprecate position enum value

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


Forgotten in 27f8c9b27bce42a4a6a4c64e03fab769579c8683.

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

diff --git a/libavfilter/af_volume.h b/libavfilter/af_volume.h
index c97902969e..c3756ee969 100644
--- a/libavfilter/af_volume.h
+++ b/libavfilter/af_volume.h
@@ -47,7 +47,9 @@ enum VolumeVarName {
     VAR_NB_CHANNELS,
     VAR_NB_CONSUMED_SAMPLES,
     VAR_NB_SAMPLES,
+#if FF_API_FRAME_PKT
     VAR_POS,
+#endif
     VAR_PTS,
     VAR_SAMPLE_RATE,
     VAR_STARTPTS,
-- 
2.34.1



More information about the ffmpeg-devel mailing list