pidgin/plugins/crazychat/filter.h

Thu, 31 May 2012 03:45:21 +0000

author
Paul Aurich <darkrain42@pidgin.im>
date
Thu, 31 May 2012 03:45:21 +0000
branch
release-2.x.y
changeset 32135
0aa32fc00dc2
parent 31293
169eeb43b52c
permissions
-rw-r--r--

Fix crash when ignoring message from a user not in the room. Fixes #15139

Occurs with IRC system messages on-login.

#ifndef __FILTER_H__
#define __FILTER_H__

struct cc_features;

typedef struct filter_bank {
	float head_size[10];
	float head_z_rot[10];
	float head_y_rot[10];
	float mouth_open[10];
	float xfilt[10];
	float yfilt[10];
} filter_bank;

filter_bank* Filter_Initialize (void);
void Filter_Destroy (filter_bank *f);
void filter(struct cc_features *instance, filter_bank *f);

#endif /* __FILTER_H__ */

mercurial