git.libav.org Git - libav.git/rss log
Libav master git repository
Les articles publiés sur le site
-
aarch64 : Add assembly support for -fsanitize=hwaddress tagged globals.
21 août 2019, par Peter Collingbourneaarch64: Add assembly support for -fsanitize=hwaddress tagged globals. As of LLVM r368102, Clang will set a pointer tag in bits 56-63 of the address of a global when compiling with -fsanitize=hwaddress. This requires an adjustment to assembly code that takes the address of such globals: the code cannot use the regular R_AARCH64_ADR_PREL_PG_HI21 relocation to refer to the global, since the tag would take the address out of range. Instead, the code must use the non-checking (_NC) variant of the relocation (the link-time check is substituted by a runtime check). This change makes the necessary adjustment in the movrel macro, where it is needed when compiling with -fsanitize=hwaddress. Signed-off-by: Peter Collingbourne <pcc@google.com> Signed-off-by: Martin Storsjö <martin@martin.st>
-
rtsp : add pkt_size option
11 avril 2019, par Tristan Matthews -
time_internal : Prefix fallback versions of gmtime_r/localtime_r with ff_
10 avril 2019, par Martin Storsjötime_internal: Prefix fallback versions of gmtime_r/localtime_r with ff_ Use a macro to redirect calling code from the official name to the ff_ prefixed one. Detecting these functions in configure can be tricky (on mingw, they are conditionally available depending on posix feature defines). If configure didn't detect them, but they still are visible at compile time (due to an unrelated header defining the posix feature defines), providing the local fallback versions with a prefixed name is safer. Signed-off-by: Martin Storsjö <martin@martin.st>
-
configure : Include time.h when checking for gmtime_r and localtime_r
10 avril 2019, par Martin Storsjöconfigure: Include time.h when checking for gmtime_r and localtime_r These functions are available in time.h (conditional on posix thread safe functions) on mingw. Previously, these functions weren't detected by configure, and libavutil/time_internal.h provided replacements, even if time.h actually contained definitions of them. These mingw inline functions are currently defined as "extern __inline __attribute__((__gnu_inline__))". In this case, redefining a new static inline version of the same function with the same name is tolerated. Signed-off-by: Martin Storsjö <martin@martin.st>
-
configure : Add -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 for mingw as well
10 avril 2019, par Martin Storsjöconfigure: Add -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 for mingw as well Mingw headers have got header inline implementations of localtime_r and gmtime_r, but only visible if certain posix thread safe functions have been requested. This is a preparatory step for improving the detection of those functions. Signed-off-by: Martin Storsjö <martin@martin.st>