diff options
author | Clément Bœsch <u@pkh.me> | 2013-11-10 19:16:45 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2013-11-10 19:16:45 +0100 |
commit | 199b8fbd09f0db237374938577665b0531b4498f (patch) | |
tree | feba5739c12c18c7b67da69f5ddb1c738931b0ba | |
parent | 981128c2c184b598d751eaba83515a327fbefb1b (diff) | |
download | ffmpeg-199b8fbd09f0db237374938577665b0531b4498f.tar.gz |
avfilter/fade: use FADE_OUT macro.
-rw-r--r-- | libavfilter/vf_fade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c index 387c128ecf..cc10b122ca 100644 --- a/libavfilter/vf_fade.c +++ b/libavfilter/vf_fade.c @@ -317,7 +317,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) s->factor = av_clip_uint16(s->factor); // Invert fade_factor if Fading Out - if (s->type == 1) { + if (s->type == FADE_OUT) { s->factor=UINT16_MAX-s->factor; } |