flv->soundDelay = 0; #endif
static int flv_write_header(AVFormatContext *s){    ByteIOContext *pb = &s->pb;    FLVContext *flv = s->priv_data;    av_set_pts_info(s, 24, 1, 1000); /* 24 bit pts in ms */    flv->hasAudio = 0;    flv->hasVideo = 0;#ifdef CONFIG_MP3LAME    flv->audioTime = -1;    flv->audioFifo = av_malloc(AUDIO_FIFO_SIZE);    flv->audioInPos = 0;    flv->audioOutPos = 0;    flv->audioSize = 0;//    flv->audioRate = 44100;    flv->initDelay = -1;    flv->soundDelay = 0;#endif // CONFIG_MP3LAME    flv->frames = 0;    put_tag(pb,"FLV");    put_byte(pb,1);    put_byte(pb,0); // delayed write    put_be32(pb,9);    put_be32(pb,0);    return 0;}