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/vf_v360: fix possible out of range values
tags/n4.4
Paul B Mahol
5 years ago
parent
eaba6cecfb
commit
3a035a8cd2
1 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
libavfilter/vf_v360.c
+ 3
- 3
libavfilter/vf_v360.c
View File
@@ -763,12 +763,12 @@ static inline int mod(int a, int b)
static inline int reflecty(int y, int h)
{
if (y < 0) {
return
-y;
y =
-y;
} else if (y >= h) {
return
2 * h - 1 - y;
y =
2 * h - 1 - y;
}
return y;
return
av_clip(
y
, 0, h - 1)
;
}
/**
Write
Preview
Loading…
Cancel
Save