I got an error when saving the pes data

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
tjuwangli
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Feb 2004 14:49

I got an error when saving the pes data

Postby tjuwangli » 18 Mar 2004 15:30

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.

tjuwangli
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Feb 2004 14:49

I got it

Postby tjuwangli » 19 Mar 2004 02:17

I find the defination of the struct data_buffer_t is in input_ext-plugins.c. The file where I used the fwrite don't include it. So the compiler can't find it.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests