From d545668e256e3dfc7b46290042d537659f329241 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 2 Feb 2015 23:09:16 +0100 Subject: 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 --- libavfilter/af_volume.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavfilter') 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; -- cgit v1.2.3