1. 21 May, 2017 5 commits
  2. 19 May, 2017 1 commit
  3. 14 Apr, 2017 1 commit
  4. 23 Mar, 2017 1 commit
  5. 01 Dec, 2016 1 commit
  6. 13 Jun, 2016 3 commits
  7. 20 Apr, 2016 1 commit
    • 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
  8. 12 Apr, 2016 2 commits
  9. 11 Apr, 2016 5 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
      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
  10. 16 Jan, 2016 3 commits
  11. 11 Oct, 2015 2 commits
  12. 18 Aug, 2015 8 commits
  13. 25 Jul, 2015 5 commits
    • Marcin Juszkiewicz's avatar
      aarch64: Remove broken CFLAGS in configure · 73ae2d11
      Marcin Juszkiewicz authored
      GCC doesn't have an "-arch" switch, but works when that entire line is removed.
      73ae2d11
    • Rong Yan's avatar
      ppc: Add little-endian PowerPC support · cc002bd5
      Rong Yan authored
      cc002bd5
    • Kaustubh Raste's avatar
      mips: Initial MSA support · ce0757d9
      Kaustubh Raste authored
      
      
      MSA is the MIPS SIMD Architecture.
      
      Add X264_CPU_MSA define.
      Update configure to detect MIPS platform and set flags.
      CPU-specific gcc options are expected through --extra-cflags.
      
      Sample command line for mips32r5:
          ./configure --host=mipsel-linux-gnu --cross-prefix=<TOOLCHAIN>/mips-mti-linux-gnu-
          --extra-cflags="-EL -mips32r5 -msched-weight -mload-store-pairs"
      Signed-off-by: default avatarKaustubh Raste <kaustubh.raste@imgtec.com>
      ce0757d9
    • Henrik Gramner's avatar
      x86: Experimental nasm support · b568a256
      Henrik Gramner authored
      Enables the use of nasm as an alternative to yasm.
      
      Note that nasm cannot assemble x264 with PIC enabled since it currently doesn't
      support [symbol-$$] addressing which is used extensively by x264's PIC code.
      This includes all 64-bit Windows and 64-bit OS X builds, even non-shared.
      
      For the above reason nasm is currently intentionally not auto-detected, instead
      the assembler must be explicitly specified using "AS=nasm ./configure".
      
      Also drop -O2 from ASFLAGS since it's simply ignored anyway.
      b568a256
    • Henrik Gramner's avatar
      Get rid of fPIC warnings when compiling a shared library on Windows · 3f8c8eb1
      Henrik Gramner authored
      PIC is always enabled when compiling for Windows so gcc complains when using
      -fPIC since it doesn't do anything.
      3f8c8eb1
  14. 24 May, 2015 1 commit
  15. 23 Feb, 2015 1 commit