This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avfilter/fade: use FADE_OUT macro.
tags/n2.2-rc1
Clément Bœsch
12 years ago
parent
981128c2c1
commit
199b8fbd09
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavfilter/vf_fade.c
+ 1
- 1
libavfilter/vf_fade.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save