Recherche avancée

Médias (0)

Mot : - Tags -/publication

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (105)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • Les sons

    15 mai 2013, par

Sur d’autres sites (6784)

  • What's the point of passing address of pointer to function that needs pointer to pointer ?

    16 août 2019, par Guerlando OCs

    I’m reading an example of ffmpeg decoding and it has the address of a pointer being passed to a function :

    static AVBufferRef *hw_device_ctx = NULL;


    if ((err = av_hwdevice_ctx_create(&hw_device_ctx, type,
                                     NULL, NULL, 0)) < 0) {

    What’s the point of passing the address of a pointer as an argument ?

    I understand that when we pass the pointer itself, if the pointer has address 0x123456, then the function is going to be able to modify what’s the object that is in this address. But when I pass the address of a pointer, I’m passing the address of where this pointer number is allocated ?

    If I understood right, I’m passing the address of the variable that stores 0x123456 ? Why the function needs it ?

    Also, suppose that I want to store hw_device_ctx in a unique_ptr like this :

    std::unique_ptr<avbufferred> hw_pointer;
    </avbufferred>

    How can I pass it to av_hwdevice_ctx_create ? Because I get an error when I do

    av_hwdevice_ctx_create(&amp;hw_pointer.get(),...

    It says :

    expression must be an lvalue or a function designator
  • rtpproto : Add an option for writing return packets to the address of the last receive...

    13 août 2013, par Martin Storsjö
    rtpproto : Add an option for writing return packets to the address of the last received packets
    

    If we’ve received packets on the same socket before, the return
    packets are sent to that address. If we’ve only received packets
    on the other socket, try to guess the source port for the other
    one assuming the basic ×1 logic.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/rtpproto.c
  • Revision fb550ee620 : vpx_mem : increase default alignment this prevents returning an address smaller

    7 septembre 2013, par James Zern

    Changed Paths :
     Modify /vpx_mem/include/vpx_mem_intrnl.h



    vpx_mem : increase default alignment

    this prevents returning an address smaller than the natural heap
    alignment from vpx_malloc on e.g., x86_64

    Change-Id : I283e858664a8529f28b22060c3815116a7798c0d