1. 20 Sep, 2016 1 commit
  2. 17 Sep, 2016 2 commits
  3. 13 Jun, 2016 11 commits
  4. 20 Apr, 2016 2 commits
    • Anton Mitrofanov's avatar
      Clean up header includes · 3b706455
      Anton Mitrofanov authored
      3b706455
    • Henrik Gramner's avatar
      Eliminate some compiler warnings on BSD · 2102de25
      Henrik Gramner authored
      Include <strings.h> in addition to <string.h>. According to the POSIX
      specification the prototypes for strcasecmp() and strncasecmp() are
      declared in <strings.h>. On some systems they are also declared in
      <string.h> for compatibility reasons but we shouldn't rely on that.
      
      Define _POSIX_C_SOURCE only when it's required to do so. Some BSD
      variants doesn't declare certain function prototypes otherwise.
      2102de25
  5. 12 Apr, 2016 16 commits
  6. 11 Apr, 2016 8 commits
    • Henrik Gramner's avatar
      ffms: Various improvements · dfe394ca
      Henrik Gramner authored
       * Drop the MinGW Unicode workarounds. Those were required at the time
         Windows Unicode support was added to x264 but the underlying problem
         has since been fixed in FFMS.
      
       * Use FFMS_IndexBelongsToFile() as an additional sanity check when reading
         an index file to ensure that it belongs to the current source video.
      
       * Upgrade to the new API to prevent deprecation warnings when compiling.
      
       * Fix a resource leak that would occur if FFMS_GetFirstTrackOfType() or
         FFMS_CreateVideoSource() failed.
      
       * Minor string handling adjustments related to progress reporting.
      
      This increases the FFMS version requirement from 2.16.2 to 2.21.0.
      dfe394ca
    • Henrik Gramner's avatar
      msvc: Add snprintf/vsnprintf replacements · 215afdbd
      Henrik Gramner authored
      MSVC pre-VS2015 has broken snprintf/vsnprintf implementations which are
      incompatible with C99 and may lead to buffer overflows.
      215afdbd
    • Henrik Gramner's avatar
      configure: Define feature test macros for --std=gnu99 · 5be32efc
      Henrik Gramner authored
      Makes the printf() family functions on MinGW use the correct C99 POSIX
      versions instead of the broken pre-VS2015 Microsoft ones.
      
      Also allows us to get rid of some _GNU_SOURCE and _ISOC99_SOURCE defines.
      5be32efc
    • Henrik Gramner's avatar
      mingw: Enable high-entropy ASLR on 64-bit Windows · c01bf421
      Henrik Gramner authored
      To fully utilize HEASLR the image base address must also be set above
      4 GiB. For consistency use the same address as MSVC uses by default.
      
      This requires binutils 2.25 which isn't available on all common
      distributions, so only enable it after checking that it's supported.
      c01bf421
    • Henrik Gramner's avatar
      msvs: WinRT support · dd6b7b97
      Henrik Gramner authored
      To compile x264 for WinRT the following additional steps has to be performed.
      
       * Ensure that the necessary SDK is installed.
      
       * Set the correct environment variables in the VS command prompt as shown at
         https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT
      
       * Add one of the following to --extra-cflags depending on the target OS:
         "-DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP -D_WIN32_WINNT=0x0A00" (Windows 10)
         "-DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP -D_WIN32_WINNT=0x0603" (Windows 8.1)
      dd6b7b97
    • Henrik Gramner's avatar
      7650a136
    • Henrik Gramner's avatar
      1ce062ab
    • Henrik Gramner's avatar
      de7af918