1. 18 Aug, 2015 16 commits
  2. 17 Aug, 2015 9 commits
  3. 16 Aug, 2015 11 commits
  4. 15 Aug, 2015 4 commits
    • Martin Storsjö's avatar
      libfdk-aacdec: Clean up properly if the init fails · f34b152e
      Martin Storsjö authored
      Previously most of the error paths leaked.
      
      Also add FF_CODEC_CAP_INIT_THREADSAFE while adding caps_internal;
      this decoder wrapper doesn't have any static data that is initialized.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      f34b152e
    • Martin Storsjö's avatar
      libfdk-aacdec: Always decode into an intermediate buffer · 1b90433f
      Martin Storsjö authored
      For ADTS streams, the output format (number of channels, frame size)
      can change at any point (with the latest version of fdk-aac, the decoder
      seems to change format after a handful of frames, not outputting the
      right format immediately, for cases that worked fine with the earlier
      version of the lib).
      
      Previously, the decoder decoded straight into the output frame once the
      number of channels and frame size was known. This obviously does not
      work if the number of channels or frame size changes.
      
      The alternative would be to allocate the AVFrame with the maximum number
      of channels and frame size, and change them afterward decoding into it,
      but that may cause confusion to users e.g. of the get_buffer callback.
      This solution should be more robust.
      
      CC: libav-stable@libav.org
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      1b90433f
    • Martin Storsjö's avatar
      libfdk-aacdec: Bump the max number of channels to 8 · 87de6ddb
      Martin Storsjö authored
      In the latest version of fdk-aac, the decoder can output up to 8
      channels; take this into account when preallocating buffers that
      need to fit the output from any packet.
      
      CC: libav-stable@libav.org
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      87de6ddb
    • Martin Storsjö's avatar
      configure: arm: Assume softfp ABI on darwin · cb2dbe2c
      Martin Storsjö authored
      Don't try to detect the float ABI by checking at the toolchain
      name or by trying to assemble and link files with eabi_attributes.
      
      This fixes the float ABI detection when building using clang
      with -fembed-bitcode, where the current eabi_attributes check
      accidentally passes.
      
      This issue was pointed out by James Howe <james.howe@hp.com>.
      
      CC: libav-stable@libav.org
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      cb2dbe2c