projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
print out directory name of LV2 path; Andrew patch for ubuntu 16 new libaom
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
boxblur.C
diff --git
a/cinelerra-5.1/cinelerra/boxblur.C
b/cinelerra-5.1/cinelerra/boxblur.C
index d0c00c0904a13c5fa8f62dbdbc4d7d9a2d03db2a..31f017d8fb4d086e7db47616189e7f2c796479fd 100644
(file)
--- a/
cinelerra-5.1/cinelerra/boxblur.C
+++ b/
cinelerra-5.1/cinelerra/boxblur.C
@@
-6,6
+6,7
@@
void blurt(dst_t *dst, int dst_step, src_t *src, int src_step,
int len, int radius, float s)
{
int n = len/2-1;
+ if( n <= 0 ) return;
if( radius > n ) radius = n;
const int length = radius*2 + 1;
const int inv = s * ((1<<16) + length/2)/length;