1. 28 Jun, 2019 1 commit
  2. 27 Jun, 2019 2 commits
  3. 26 Jun, 2019 13 commits
  4. 25 Jun, 2019 20 commits
  5. 24 Jun, 2019 3 commits
    • Andreas Rheinhardt's avatar
      avformat/matroskadec: Don't zero unnecessarily · 1215b3a5
      Andreas Rheinhardt authored
      It is only necessary to zero the initial allocated memory used to store
      the size of laced frames if the block used Xiph lacing. Otherwise no
      unintialized data was ever used, so use av_malloc instead of av_mallocz.
      
      Also use the correct type for the allocations.
      Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
      1215b3a5
    • Alexander Strasser's avatar
      configure: print_in_columns: Replace pr with awk · 99147312
      Alexander Strasser authored
      Get rid of pr dependency and write the columns strictly
      alphabetical without page size considerations (POSIX
      specifies 66 lines as default).
      
      Setting the page size via pr's -l option was considered,
      but as there is issue #5680 which wants to avoid pr
      mainly because it's not in busybox, we chose to replace
      pr instead.
      
      Before pr would attempt to write pages, thus if a page
      boundary was reached, the output looked confusing as one
      couldn't see there was a new page and the alphabetical
      order was disrupted when scanning down one of the columns.
      
      This change is based on a shell implementation submitted
      before by Yejun.
      
      Possible differences to the current version using pr:
      1. pr implementations should truncate items to not overflow columns;
         depending on how it's done not truncating shall be better IMHO.
      2. pr implementations might balance columns differently;
         we use minimum number of lines and might end up not
         using all columns or might have lesser entries in the
         last column(s)
      3. we use spaces only for padding the columns; at least the GNU pr
         version on my system also by default stuffs in tabs in addition
         to a single space in between columns. I don't see that this
         behaviour is demanded by POSIX, though I might be very well
         overlooking things. Anyway for our use case I can't see a need
         for having the additional tabs, or why it would be better compared
         to padding with spaces only.
      
      Fixes output for sizes with width < column width, too.
      
      Fixes remaining part of ticket #5680
      
      Contributor: Guo, Yejun <yejun.guo@intel.com>
      99147312
    • Bela Bodecs's avatar
      avformat/hlsenc: better error log message for var_stream_map content · 2045dd00
      Bela Bodecs authored
      When multiple variant streams are specified by var_stream_map option,
      %v is expected either in the filename or in the last sub-directory name,
      but only in one of them. When both of them contains %v string, current
      error message only states half of the truth.
      And even %v may appears several times inside the last sub-directory name
      or in filename pattern.
      This patch clarifies this in the log message and in the doc also.
      Signed-off-by: 's avatarBela Bodecs <bodecsb@vivanet.hu>
      2045dd00
  6. 23 Jun, 2019 1 commit
    • Andreas Rheinhardt's avatar
      avformat/matroskadec: Treat SimpleBlock as EBML_BIN · bc3306fd
      Andreas Rheinhardt authored
      Up until now, the SimpleBlock was treated specially: It basically had
      its own EBML category and it was also included in the BlockGroup EBML
      syntax (although a SimpleBlock must not exist in a BlockGroup according
      to the Matroska specifications). The latter fact also meant that
      a MatroskaBlock's buffer was always unreferenced twice.
      This has been changed: The type of a SimpleBlock is now an EBML_BIN.
      The only way in which SimpleBlocks are still different is that they
      share their associated structure with another unit (namely BlockGroup).
      This is also used to unref the block: It is always unreferenced via the
      BlockGroup syntax.
      Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
      bc3306fd