diff mbox series

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

Message ID DU0P250MB07477741BFFCE0A2F7EC38848FEAA@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 41f1921f7462b93113bbf0bb9476319d81232f70
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/af_volume.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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,