put_padding(nut, bc);
static int nut_write_trailer(AVFormatContext *s){    NUTContext *nut = s->priv_data;    ByteIOContext *bc = &s->pb;#if 0    int i;    /* WRITE INDEX */    for (i = 0; s->nb_streams; i++)    {	put_packetheader(nut, bc, 64); /* FIXME: estimation */	put_be64(bc, INDEX_STARTCODE);	put_v(bc, s->streams[i]->id);	put_v(bc, ...);	put_padding(nut, bc);	put_be32(bc, 0); /* FIXME: checksum */    }#endif    put_flush_packet(bc);    return 0;}