Recherche avancée

Médias (91)

Autres articles (69)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (9518)

  • compat/w32pthreads : change pthread_t into pointer to malloced struct

    12 décembre 2024, par Anton Khirnov
    compat/w32pthreads : change pthread_t into pointer to malloced struct
    

    pthread_t is currently defined as a struct, which gets placed into
    caller's memory and filled by pthread_create() (which accepts a
    pthread_t*).

    The problem with this approach is that pthread_join() accepts pthread_t
    itself rather than a pointer to it, so it gets a _copy_ of this
    structure. This causes non-deterministic failures of pthread_join() to
    produce the correct return value - depending on whether the thread
    already finished before pthread_join() is called (and thus the copy
    contains the correct value), or not (then it contains 0).

    Change the definition of pthread_t into a pointer to a struct, that gets
    malloced by pthread_create() and freed by pthread_join().

    Fixes random failures of fate-ffmpeg-error-rate-fail on Windows after
    433cf391f58210432be907d817654929a66e80ba.

    See also [1] for an alternative approach that does not require dynamic
    allocation, but relies on an assumption that the pthread_t value
    remains in a fixed memory location.

    [1] https://code.videolan.org/videolan/x264/-/commit/23829dd2b2c909855481f46cc884b3c25d92c2d7

    Reviewed-By : Martin Storsjö <martin@martin.st>

    • [DH] compat/w32pthreads.h
  • ffmpeg : Avoid null pointer dereferences

    2 avril 2015, par Himangi Saraogi
    ffmpeg : Avoid null pointer dereferences
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] ffmpeg.c
  • vp9 : make above buffer pointer 32-byte aligned.

    21 mars 2015, par Ronald S. Bultje
    vp9 : make above buffer pointer 32-byte aligned.
    

    Fixes ticket #4383

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/vp9.c