Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (57)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (8497)

  • Casting a tuple of pointers to a pointer of pointers

    16 février 2019, par carlossless

    I have piece of C code :

    #define AV_NUM_DATA_POINTERS 8
    uint8_t *data[AV_NUM_DATA_POINTERS];

    In the swift generated interface this looks like :

    var data: (UnsafeMutablePointer<uint8>?, UnsafeMutablePointer<uint8>?, UnsafeMutablePointer<uint8>?, UnsafeMutablePointer<uint8>?, UnsafeMutablePointer<uint8>?, UnsafeMutablePointer<uint8>?, UnsafeMutablePointer<uint8>?, UnsafeMutablePointer<uint8>?)
    </uint8></uint8></uint8></uint8></uint8></uint8></uint8></uint8>

    There’s a function that needs this data variable. It’s representation in C is as follows :

    int sws_scale(..., const uint8_t *const srcSlice[], ...);

    However swift produces the following signature :

    func sws_scale(..., _ srcSlice: UnsafePointer?>!, ...) -> Int32

    What’s the best way to cast the huge tuple to a type that would work for the sws_scale function ?

  • avcodec/apedec : Use FFABSU() in do_apply_filter()

    21 janvier 2021, par Michael Niedermayer
    avcodec/apedec : Use FFABSU() in do_apply_filter()
    

    Fixes : negation of -2147483648 cannot be represented in type 'int' ; cast to an unsigned type to negate this value to itself
    Fixes : 29053/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-4814432697974784

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Reviewed-by : Anton Khirnov <anton@khirnov.net>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/apedec.c
  • avutil/common : Fix integer overflow in av_clip_uint8_c() and av_clip_uint16_c()

    14 février 2018, par Michael Niedermayer
    avutil/common : Fix integer overflow in av_clip_uint8_c() and av_clip_uint16_c()
    

    Fixes : 5567/clusterfuzz-testcase-minimized-5769966247739392
    Fixes : runtime error : negation of -2147483648 cannot be represented in type 'int' ; cast to an unsigned type to negate this value to itself

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavutil/common.h