diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-05 22:18:53 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-05 22:18:53 +0200 |
commit | e60fcdb989856db58e9481773f3e56fb0ddc16d4 (patch) | |
tree | a0eb24214dfb78efee59ef96bc19467dc3883a97 | |
parent | 750cc3c0e555ffd6f14671f18b6582f7a403a617 (diff) | |
download | ffmpeg-streaming-e60fcdb989856db58e9481773f3e56fb0ddc16d4.zip ffmpeg-streaming-e60fcdb989856db58e9481773f3e56fb0ddc16d4.tar.gz |
vf_hue: fix AVOption defaults
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vf_hue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c index dd36d8e..1ce231e 100644 --- a/libavfilter/vf_hue.c +++ b/libavfilter/vf_hue.c @@ -53,11 +53,11 @@ typedef struct { #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM static const AVOption hue_options[] = { { "h", "set the hue angle degrees", OFFSET(hue_deg), AV_OPT_TYPE_FLOAT, - { -FLT_MAX }, -FLT_MAX, FLT_MAX, FLAGS }, + { .dbl = -FLT_MAX }, -FLT_MAX, FLT_MAX, FLAGS }, { "H", "set the hue angle radians", OFFSET(hue), AV_OPT_TYPE_FLOAT, - { -FLT_MAX }, -FLT_MAX, FLT_MAX, FLAGS }, + { .dbl = -FLT_MAX }, -FLT_MAX, FLT_MAX, FLAGS }, { "s", "set the saturation value", OFFSET(saturation), AV_OPT_TYPE_FLOAT, - { SAT_DEFAULT_VAL }, -10, 10, FLAGS }, + { .dbl = SAT_DEFAULT_VAL }, -10, 10, FLAGS }, { NULL } }; |