I want to save the pes data from a TS stream. I write it in the DemuxTS function. After the GatherPES, I write this :
fwrite((p_data->p_buffer),1,p_data->p_buffer->i_size,temp);
But the compiler tell me that an error : error C2037: left of 'i_size' specifies undefined struct/union 'data_buffer_t'
I don't know why it is an error. Please help me . Thank you .
By the way , my system is Win2000 and I use VC++6.0 to compile it.