diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-02 23:09:16 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-02 04:08:22 +0100 |
commit | d545668e256e3dfc7b46290042d537659f329241 (patch) | |
tree | 259617c385c1fbb8191894a7ea94ff2a2cb3fe39 | |
parent | 27a5d09c6adc6e20e00e569a13a4b899c5ef935d (diff) | |
download | ffmpeg-d545668e256e3dfc7b46290042d537659f329241.tar.gz |
avfilter/af_volume: Change enums to int, which are accessed via AVOption as int
This fixes depending on implementation defined behavior
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/af_volume.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/af_volume.h b/libavfilter/af_volume.h index 53a328e352..aff75267fe 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; |