1. 14 Mar, 2019 3 commits
    • Michael Niedermayer's avatar
      avcodec/cdgraphics: Use ff_set_dimensions() · 9a9f0e23
      Michael Niedermayer authored
      Fixes: Timeout (17 sec -> 65 milli sec)
      Fixes: 13264/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CDGRAPHICS_fuzzer-5711167941509120
      
      Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      9a9f0e23
    • Michael Niedermayer's avatar
      avformat/gdv: Check fps · 38381400
      Michael Niedermayer authored
      Fixes: Division by 0
      Fixes: ffmpeg_zero_division.bin
      Found-by: 's avatarAnatoly Trosinenko <anatoly.trosinenko@gmail.com>
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      38381400
    • Matthew Fearnley's avatar
      libavcodec/zmbvenc: Add support for RGB formats · 03213706
      Matthew Fearnley authored
      This consists mostly of the following changes:
      - add newly supported pixel formats (RGB555LE, RGB565LE, BGR0)
      - select the ZMBV format (c->fmt) and bytes per pixel (c->bypp) based on
        avctx->pix_fmt
      - multiply widths/x-values by c->bypp, in places where bytes, not pixels, are
        expected
      - disable palette-writing code for non-palette pix_fmts
      - make a note about histogram[]'s datatype (it could need increasing if
        ZMBV_BLOCK is increased)
      - adjust the c->score_tab length to take up to (and including) 4 times the
        number of pixels in a block
      - initialise c->score_tab up to c->bypp * the number of pixels
      
      Note: the ZmbvFormat enum allows for additional bit depths:
      - 1,2,4-bit (palette)
      - 24-bit (RGB)
      
      At time of writing the specifics of these (e.g. channel order, bit alignment)
      are not currently defined, and DOSBox only implements support for 8/15/16/32
      bpp.
      One might expect the 24-bit format - if implemented - to be BGR24, to have the
      same channel order as BGR0.
      However, the decoder in zmbv.c has been guessed to use RGB24, so I have chosen
      to not contradict this, and omitted specific support for this format.
      03213706
  2. 13 Mar, 2019 3 commits
  3. 12 Mar, 2019 6 commits
  4. 11 Mar, 2019 6 commits
  5. 10 Mar, 2019 3 commits
  6. 09 Mar, 2019 6 commits
  7. 08 Mar, 2019 4 commits
  8. 07 Mar, 2019 2 commits
  9. 06 Mar, 2019 3 commits
  10. 04 Mar, 2019 4 commits