1. 03 Oct, 2015 37 commits
  2. 02 Oct, 2015 3 commits
    • Michael Niedermayer's avatar
      avformat/flvdec: accept sizes if they are off by 11 · 14f6c435
      Michael Niedermayer authored
      This error was produced by rtmproto.c, it is possibly such streams
      where dumped, this commit is needed to support them
      
      Fixes: z0e.flv
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      14f6c435
    • wm4's avatar
      avcodec/videotoolbox: fix decoding of some h264 bitstreams · 16aac9a3
      wm4 authored
      This affects Annex B streams (such as demuxed from .ts and others). It
      also handles the format change in reinit-large_420_8-to-small_420_8.h264
      correctly.
      
      Instead of passing through the extradata, create it on the fly it from
      the currently active SPS and PPS. Since reconstructing the PPS and SPS
      NALs would be very complicated and verbose, we use the NALs as they
      originally appeared in the bitstream.
      
      The code for writing the extradata is somewhat derived from
      libavformat/avc.c, but it's small and different enough that sharing it
      is not really worth it.
      16aac9a3
    • wm4's avatar
      avcodec/h264: keep SPS and PPS bitstream data · 069190f7
      wm4 authored
      We assume an upper bound of 4096 bytes for each raw SPS/PPS. It's hard
      to determine an exact maximum size, but this value was was considered
      high enough and safe.
      
      Needed for the following VideotoolBox commit.
      069190f7