[FFmpeg-cvslog] avfilter/af_volume: Change enums to int, which are accessed via AVOption as int
Michael Niedermayer
git at videolan.org
Mon Mar 2 04:29:10 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Feb 2 23:09:16 2015 +0100| [d545668e256e3dfc7b46290042d537659f329241] | committer: Michael Niedermayer
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 at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d545668e256e3dfc7b46290042d537659f329241
---
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;
More information about the ffmpeg-cvslog
mailing list