diff options
author | Martin Storsjö <martin@martin.st> | 2012-08-31 13:34:23 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-09-04 23:13:51 +0300 |
commit | c7b610aa0b1bac47eea0056b13fe6e982b85844a (patch) | |
tree | 687f6b6ed2bb969c1e43ee559fdaad7cca503f54 /libavcodec/ac3dec.c | |
parent | e6153f173a49e5bfa70b0c04d2f82930533597b9 (diff) | |
download | ffmpeg-c7b610aa0b1bac47eea0056b13fe6e982b85844a.tar.gz |
avopt: Explicitly store float/double option defaults in .dbl
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r-- | libavcodec/ac3dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 4dd4ef75c4..daa0702460 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -1446,7 +1446,7 @@ static av_cold int ac3_decode_end(AVCodecContext *avctx) #define OFFSET(x) offsetof(AC3DecodeContext, x) #define PAR (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM) static const AVOption options[] = { - { "drc_scale", "percentage of dynamic range compression to apply", OFFSET(drc_scale), AV_OPT_TYPE_FLOAT, {1.0}, 0.0, 1.0, PAR }, + { "drc_scale", "percentage of dynamic range compression to apply", OFFSET(drc_scale), AV_OPT_TYPE_FLOAT, {.dbl = 1.0}, 0.0, 1.0, PAR }, { NULL}, }; |