Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (78)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • 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 (...)

Sur d’autres sites (8684)

  • avformat/iamf_writer : Fix leaks on error

    19 février 2024, par Andreas Rheinhardt
    avformat/iamf_writer : Fix leaks on error
    

    Fixes Coverity issues #1559544 and #1559547.

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

    • [DH] libavformat/iamf_writer.c
  • avcodec/movtextdec : Fix leaks on (re)allocation failure

    17 octobre 2020, par Andreas Rheinhardt
    avcodec/movtextdec : Fix leaks on (re)allocation failure
    

    Up until now, the 3GPP Timed Text decoder used av_dynarray_add()
    for a list of style entries. Said entries are individually allocated
    and owned by the pointers in the dynamic array and are therefore
    unsuitable for av_dynarray_add() which simply frees the array,
    but not the entries on error. In this case the intended new entry
    also leaks because it has been forgotten to free it.

    This commit fixes this. It is now allocated in one go and not
    reallocated multiple times (and it won't be overallocated any more).
    After all, the final number of elements (pending errors) is already
    known in advance.

    Furthermore, the style entries are now the entries of the new array,
    i.e. they are no longer allocated separately. This also removes one
    level of indirection.

    Reviewed-by : Philip Langdale <philipl@overt.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/movtextdec.c
  • ffmpeg(libavcodec). memory leaks in avcodec_encode_video

    31 mars 2012, par gavlig

    I'm trying to transcode a video with help of libavcodec.
    On transcoding big video files(hour or more) i get huge memory leaks in avcodec_encode_video. I have tried to debug it, but with different video files different functions produce leaks, i have got a little bit confused about that :). Here FFMPEG with QT memory leak is the same issue that i have, but i have no idea how did that person solve it. QtFFmpegwrapper seems to do the same i do(or i missed something).

    my method is lower. I took care about aFrame and aPacket outside with av_free and av_free_packet.

    int
    Videocut::encode(
    AVStream *anOutputStream,
    AVFrame *aFrame,
    AVPacket *aPacket
    )
    {
    AVCodecContext *outputCodec = anOutputStream->codec;

    if (!anOutputStream ||
       !aFrame ||
       !aPacket)
    {
       return 1;
       /* NOTREACHED */
    }

    uint8_t * buffer = (uint8_t *)malloc(
       sizeof(uint8_t) * _DefaultEncodeBufferSize
       );

       if (NULL == buffer) {
           return 2;
           /* NOTREACHED */
    }

    int packetSize = avcodec_encode_video(
       outputCodec,
           buffer,
           _DefaultEncodeBufferSize,
           aFrame
       );

    if (packetSize &lt; 0) {
       free(buffer);
       return 1;
       /* NOTREACHED */
    }

    aPacket->data = buffer;
    aPacket->size = packetSize;

    return 0;
    }