fprintf(stderr, "oggvorbis_encode_close\n") ;
int oggvorbis_encode_close(AVCodecContext *avccontext) {    OggVorbisContext *context = avccontext->priv_data ;/*  ogg_packet op ; */        fprintf(stderr, "oggvorbis_encode_close\n") ;        vorbis_analysis_wrote(&context->vd, 0) ; /* notify vorbisenc this is EOF */    /* We need to write all the remaining packets into the stream     * on closing */    /*    while(vorbis_bitrate_flushpacket(&context->vd, &op)) {	memcpy(packets + l, &op, sizeof(ogg_packet)) ;	memcpy(packets + l + sizeof(ogg_packet), op.packet, op.bytes) ;	l += sizeof(ogg_packet) + op.bytes ;	    }*/    vorbis_block_clear(&context->vb);    vorbis_dsp_clear(&context->vd);    vorbis_info_clear(&context->vi);      return 0 ;}