[MPlayer-G2-dev] demux_packet_t question

Nico nsabbi at libero.it
Mon Jul 21 21:10:47 CEST 2003


Hi,

what's the use of the last 8 bytes in new_demux_packet() ?

dp->buffer=len?(unsigned char*)malloc(len+8):NULL;
  if(len) memset(dp->buffer+len,0,8);

If I want to change via realloc() the size of the packet (I know it' 
nasty, but just to know)
how should I reflect the change in these last 8 bytes ?

Thanks,
                    Nico




More information about the MPlayer-G2-dev mailing list