mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
avfilter/fade: use FADE_OUT macro.
This commit is contained in:
parent
981128c2c1
commit
199b8fbd09
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue