[XviD-devel] VOP_TYPE defined twice

Christoph Lampert chl at math.uni-bonn.de
Wed Feb 19 11:18:45 CET 2003


Hi,
we define VOP_TYPEs twice, once as #define in bitstream/bitstream.h

#define I_VOP	0
#define P_VOP	1
#define B_VOP	2
#define S_VOP	3
#define N_VOP	4

and once as enum in encoder.h 

typedef enum
{
	I_VOP = 0,
	P_VOP = 1,
	B_VOP = 2,
	S_VOP = 3
}
VOP_TYPE;

encoder.c includes both, so enum is overwritten with #defines, 
but at least the value seem to agree ;-) 

Anyway, which one should we use? 

gruel 




More information about the XviD-devel mailing list