
Recherche avancée
Autres articles (47)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (8562)
-
avutil/common : Fix integer overflow in av_clip_uint8_c() and av_clip_uint16_c()
14 février 2018, par Michael Niedermayeravutil/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 itselfFound-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
avcodec/apedec : Use FFABSU() in do_apply_filter()
21 janvier 2021, par Michael Niedermayeravcodec/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-4814432697974784Found-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> -
Casting a tuple of pointers to a pointer of pointers
16 février 2019, par carlosslessI 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 ?