Recherche avancée

Médias (91)

Autres articles (103)

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (12015)

  • avcodec/utils : fix minor memory leaks on avcodec_open2() failure

    22 avril 2016, par wm4
    avcodec/utils : fix minor memory leaks on avcodec_open2() failure
    
    • [DH] libavcodec/utils.c
  • Simple ffmpeg program has memory leaks

    31 mai 2015, par Peter

    Environment : Ubuntu 14.04

    I compiled the simple source code from ffmpeg tutorial step 1 at http://dranger.com/ffmpeg/tutorial01.html. When I run the binary through valgrind, it reports a bunch of memory leaks. Here is one example :

    ==30270== 389,824 bytes in 1 blocks are possibly lost in loss record 8 of 8
    ==30270==    at 0x4C2D110: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
    ==30270==    by 0x4C2D227: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
    ==30270==    by 0x9AEDAD: av_malloc (mem.c:81)
    ==30270==    by 0x9AEEFD: av_mallocz (mem.c:207)
    ==30270==    by 0x74E70F: avcodec_get_context_defaults3 (options.c:102)i
    ==30270==    by 0x74E775: avcodec_alloc_context3 (options.c:130)
    ==30270==    by 0x449737: main (test1.cpp:106)

    Here is the snippet from test1.cpp at line 106 :

    pCodecCtx = avcodec_alloc_context3(pCodec);
    if(avcodec_copy_context(pCodecCtx, pCodecCtxOrig) != 0) {
       fprintf(stderr, "Couldn't copy codec context");
       return -1; // Error copying codec context
    }

    Before the main function returns, it does close the contexts :

    avcodec_close(pCodecCtx);
    avcodec_close(pCodecCtxOrig);
    ...
    return 0;

    Is there something else that need to be done to ensure proper memory release ?

    For those interested, the source file can be downloaded from the link I mentioned. Regards.

  • movtextdec : Fix memory leaks by freeing mem allocs correctly

    7 août 2015, par Niklesh
    movtextdec : Fix memory leaks by freeing mem allocs correctly
    

    Initialize m->count_f to 0 at the correct place to free memory allocs properly.

    Signed-off-by : Niklesh <niklesh.lalwani@iitb.ac.in>

    • [DH] libavcodec/movtextdec.c