[FFmpeg-devel] [PATCH 5/7] avfilter/af_volume: Change enums to int, which are accessed via AVOption as int

Michael Niedermayer michaelni at gmx.at
Mon Feb 2 23:22:13 CET 2015


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavfilter/af_volume.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavfilter/af_volume.h b/libavfilter/af_volume.h
index 53a328e..aff7526 100644
--- a/libavfilter/af_volume.h
+++ b/libavfilter/af_volume.h
@@ -68,13 +68,13 @@ enum ReplayGainType {
 typedef struct VolumeContext {
     const AVClass *class;
     AVFloatDSPContext *fdsp;
-    enum PrecisionType precision;
-    enum EvalMode eval_mode;
+    int precision;
+    int eval_mode;
     const char *volume_expr;
     AVExpr *volume_pexpr;
     double var_values[VAR_VARS_NB];
 
-    enum ReplayGainType replaygain;
+    int replaygain;
     double replaygain_preamp;
     int    replaygain_noclip;
     double volume;
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list