Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (4940)

  • Revert "avcodec/vlc : Add macro for ff_init_vlc_sparse()"

    18 septembre 2020, par Andreas Rheinhardt
    Revert "avcodec/vlc : Add macro for ff_init_vlc_sparse()"
    

    This reverts commit 61669b7c40b8dc3a0841768fb39c7567513b7cfc.

    This commit broke building with MSVC due to its spec-incompliant handling
    of ',' in __VA_ARGS__ : These are not treated as argument separators for
    further macros, so that in our case the init_vlc2() macro is treated as
    having only one argument whenever the init_vlc() macro is used. See [1]
    for further details.

    [1] : https://reviews.llvm.org/D69626

    Reviewed-by : Hendrik Leppkes <h.leppkes@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/smacker.c
    • [DH] libavcodec/vlc.h
  • seek : Fix crashes in ff_seek_frame_binary if built with latest Clang 14

    18 octobre 2021, par Martin Storsjö
    seek : Fix crashes in ff_seek_frame_binary if built with latest Clang 14
    

    Passing an uninitialized variable as argument to a function is
    undefined behaviour (UB). The compiler can assume that UB does not
    happen.

    Hence, the compiler can assume that the variables are never
    uninitialized when passed as argument, which means that the codepaths
    that initializes them must be taken.

    In ff_seek_frame_binary, this means that the compiler can assume
    that the codepaths that initialize pos_min and pos_max are taken,
    which means that the conditions "if (sti->index_entries)" and
    "if (index >= 0)" can be optimized out.

    Current Clang git versions (upcoming Clang 14) enabled an optimization
    that does this, which broke the current version of this function
    (which intentionally left the variables uninitialized, but silencing
    warnings about being uninitialized). See [1] for discussion on
    the matter.

    [1] https://reviews.llvm.org/D105169#3069555

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

    • [DH] libavformat/seek.c
  • lavu/video_enc_params : Avoid relying on an undefined C construct

    15 janvier 2023, par Martin Storsjö
    lavu/video_enc_params : Avoid relying on an undefined C construct
    

    The construct of using offsetof on a (potentially anonymous) struct
    defined within the offsetof expression, while supported by all
    current compilers, has been declared explicitly undefined by the
    C standards committee [1].

    Clang recently got a change to identify this as an issue [2] ;
    initially it was treated as a hard error, but it was soon after
    softened into a warning under the -Wgnu-offsetof-extensions option
    (not enabled automatically as part of -Wall though).

    Nevertheless - in this particular case, it's trivial to fix the
    code not to rely on the construct that the standards committee has
    explicitly called out as undefined.

    [1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2350.htm
    [2] https://reviews.llvm.org/D133574

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

    • [DH] libavutil/video_enc_params.c