view pidgin/plugins/crazychat/filter.h @ 27680:4e1eef14b095

Add some debugging for a file transfer crash. Refs #4829. The crash is happening because something in inner_tlvlist in aim_im_sendch2_sendfile_requestdirect is NULL, which then causes aim_tlvlist_write to call byte_stream_putraw on a NULL pointer (length is greater than 0, so aim_tlvlist_write assumes there is something there). I don't see *why*, but I think this will "fix" it.
author Paul Aurich <paul@darkrain42.org>
date Sat, 18 Jul 2009 04:06:48 +0000
parents 5fe8042783c1
children 44f53d3fc54f
line wrap: on
line source

#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__ */