Browse Source

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>
tags/n2.6
Michael Niedermayer 11 years ago
parent
commit
d545668e25
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavfilter/af_volume.h

+ 3
- 3
libavfilter/af_volume.h View File

@@ -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;


Loading…
Cancel
Save