1. 16 Nov, 2015 2 commits
    • Vittorio Giovara's avatar
      ffv1: Explicitly name the coder type · 4bb1070c
      Vittorio Giovara authored
      FFv1 uses two types of coders, golomb and range with two different
      tables. This is exposed this in a rather convoluted way, for example
      mentioning to set coder type 1 while initializing the variable 'ac' to 2,
      because encoder does not use range coder with default table.
      
      Appropriate internal coder type values have been added and used in any
      check rather than using raw numbers.
      
      Initialization of avctx.coder_type in ffv1dec is removed because this
      field is encoder only. An unneeded validation check in the encoder
      is dropped too.
      Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
      4bb1070c
    • Andreas Cadhalpun's avatar
      hqx: correct type and size check of info_offset · 9fd2bf09
      Andreas Cadhalpun authored
      It is used as size argument of ff_canopus_parse_info_tag, which uses it
      as size argument to bytestream2_init, which only supports sizes up to
      INT_MAX.
      Changing it's type to unsigned simplifies the check.
      Signed-off-by: 's avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
      9fd2bf09
  2. 14 Nov, 2015 2 commits
  3. 13 Nov, 2015 4 commits
  4. 12 Nov, 2015 8 commits
  5. 11 Nov, 2015 4 commits
  6. 10 Nov, 2015 2 commits
    • Martin Storsjö's avatar
      movenc: Add an API unit test for fragmenting options/calls · 59e8ec0a
      Martin Storsjö authored
      Contrary to the normal fate tests that run via avconv, this tests
      nontrivial call sequences that are only doable via the API
      (mainly for different corner cases when using the muxer for
      segmenting).
      
      The test muxes fake packet data (with extradata that looks
      enough like proper data to make the file be viewable with e.g.
      boxdumper) and checks the hash of the produced files. The test also
      verifies that fragments produced via different call sequences remain
      identical (to avoid e.g. updating the output hashes and suddenly
      having fragments that used to be identical suddenly diverging), for
      fragments written with frag_discont and/or delay_moov.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      59e8ec0a
    • Martin Storsjö's avatar
      movenc: Automatically flush after writing the initial moov · 8ad5124b
      Martin Storsjö authored
      In most other cases when writing fragmented mp4 files, the output
      IO context is flushed after each fragment. Also flush it after
      writing the initial moov, to have it behave in the same way.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      8ad5124b
  7. 09 Nov, 2015 13 commits
  8. 08 Nov, 2015 3 commits
  9. 06 Nov, 2015 2 commits