Recherche avancée

Médias (91)

Autres articles (97)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (7073)

  • Revision 87599 : $GLOBALS[’visiteur_session’] au lieu de global $auteur_session ; et ...

    22 février 2015, par kent1@… — Log

    $GLOBALSvisiteur_session ? au lieu de global $auteur_session ; et $auteur_session
    Indentation / Formatage

  • Revision 87599 : $GLOBALS[’visiteur_session’] au lieu de global $auteur_session ; et ...

    22 février 2015, par kent1@… — Log

    $GLOBALSvisiteur_session ? au lieu de global $auteur_session ; et $auteur_session
    Indentation / Formatage

  • fftools : Use right function signature and pointers

    6 août 2019, par Andreas Rheinhardt
    fftools : Use right function signature and pointers
    

    The option tables of the various fftools (in particular ffprobe) are
    arrays of OptionDef ; said type contains a union of a pointer to void and
    a function pointer of type int (*)(void *, const char *, const char *)
    as well as a size_t. Some entries (namely the common entry for writing a
    report as well as several more of ffprobe's entries) used the pointer to
    void to store a pointer to functions of type int (*)(const char *) or
    type int (*)(const char *, const char *) ; nevertheless, when the functions
    are actually called in write_option (in cmdutils.c), it is done via a
    pointer of the first type.

    There are two things wrong here :
    1. Pointer to void can be converted to any pointer to incomplete or
    object type and back ; but they are nevertheless not completely generic
    pointers : There is no provision in the C standard that guarantees their
    convertibility with function pointers. C90 lacks a generic function
    pointer, C99 made every function pointer a generic function pointer and
    still disallows the convertibility with void *.
    2. The signature of the called function differs from the signature
    of the pointed-to type. This is undefined behaviour in C99 (given that
    C90 lacks a way to convert function pointers at all, it doesn't say
    anything about such a situation). It only works because none of the
    functions this patch is about make any use of their parameters at all.

    Therefore this commit changes the type of the relevant functions
    to match the type used for the call and uses the union's function
    pointer to store it. This is legal even in C90.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] fftools/cmdutils.c
    • [DH] fftools/cmdutils.h
    • [DH] fftools/ffprobe.c