Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (101)

  • 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 tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (12832)

  • avformat/matroskadec : Fix use-after-free when demuxing ProRes

    7 décembre 2019, par Andreas Rheinhardt
    avformat/matroskadec : Fix use-after-free when demuxing ProRes
    

    ProRes in Matroska is supposed to not contain the first atom header
    (containing a size field and the tag "icpf") and therefore the Matroska
    demuxer has to recreate it ; this involves an allocation and copy, of
    course. Whether the old buffer (containing the data without the atom
    header) needs to be freed or not depends upon whether it is what was
    directly read (in which case it is owned by an AVBuffer) or whether it
    has been allocated when reversing the track's content compression (e.g.
    zlib compression) that Matroska supports.

    So there are three pointers involved : The one pointing to the directly
    read data (owned by the AVBuffer), the one pointing to the currently
    valid data (which coincides with the former if no content compression
    needed to be reverted) and the one pointing to the new data with the
    first atom header. The check for whether to free the second of these is
    simply whether the first two are different.

    This works mostly, but there is a complication : Some muxers don't strip
    the first atom header away and in this case, it is also not reinserted
    and no new buffer is allocated ; instead, the second and the third
    pointers agree. In this case, one must never free the second buffer.
    Yet it is currently done if the track is e.g. zlib compressed.
    This commit fixes this.

    This is a regression since b8e75a2a.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavformat/matroskadec.c
  • avformat/id3v2 : Fix double-free on error

    10 novembre 2019, par Andreas Rheinhardt
    avformat/id3v2 : Fix double-free on error
    

    ff_id3v2_parse_priv_dict() uses av_dict_set() with the flags
    AV_DICT_DONT_STRDUP_KEY and AV_DICT_DONT_STRDUP_VAL. In this case both
    key and value are freed on error (and owned by the destination
    dictionary on success), so that freeing them again on error is a
    double-free and therefore forbidden. But it nevertheless happened.

    Fixes CID 1452489 and 1452421.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/id3v2.c
  • avformat/icecast : Free the right buffer on error

    10 novembre 2019, par Andreas Rheinhardt
    avformat/icecast : Free the right buffer on error
    

    In case an AVBPrint was not complete, icecast_open() would free some
    buffers that have not been allocated yet instead of freeing the data of
    the AVBPrint (if they have been allocated). Because this error does not
    trigger a jump to the general cleanup section any more, one can moreover
    remove a (now unnecessary) initialization of a pointer.

    Furthermore, finalizing an AVBPrint can fail (namely when the string
    inside the AVBPrint has not been allocated yet) and so this needs to be
    checked.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/icecast.c