mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
goom: ff and iff are only used in a '#ifdef DRAW_MOTIF' block.
This commit is contained in:
parent
5c52506d07
commit
c185a8db9d
1 changed files with 2 additions and 0 deletions
|
@ -283,12 +283,14 @@ convolve_apply (VisualFX * _this, Pixel * src, Pixel * dest, PluginInfo * info)
|
|||
{
|
||||
|
||||
ConvData *data = (ConvData *) _this->fx_data;
|
||||
#ifdef DRAW_MOTIF
|
||||
float ff;
|
||||
int iff;
|
||||
|
||||
ff = (FVAL (data->factor_p) * FVAL (data->factor_adj_p) +
|
||||
FVAL (data->light)) / 100.0f;
|
||||
iff = (unsigned int) (ff * 256);
|
||||
#endif
|
||||
|
||||
{
|
||||
double fcycle = (double) info->cycle;
|
||||
|
|
Loading…
Reference in a new issue