dyne / frei0r

A large collection of free and portable video plugins
https://frei0r.dyne.org/
GNU General Public License v2.0
427 stars 89 forks source link

timeout filter issues #41

Closed rrrapha closed 5 years ago

rrrapha commented 5 years ago

The filter can cause a segfault when invoked without any parameters:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00001069779a53d4 in ABGR::blend (this=0x7f7ffffc9168, other=..., opacity=3001)
    at /tmp/frei0r/src/filter/timeout/timeout.cpp:42
42              ret.r = l*r + r*other.r;

Otherwise the filter works, but the red component of the color parameter is ignored and the height of the displayed rectangle seems to be one pixel off.