[FFmpeg-devel] [PATCH v3 0/2] Ubisoft Rayman 2 APM demuxer + decoder.

Zane van Iperen zane at zanevaniperen.com
Thu Feb 20 13:31:41 EET 2020


Hi all,

This patchset adds support for the APM files used by Rayman 2.

It has been tested against all *.apm files in the game folder.

v3:
  - simplify the decoder

v2:
  - Change extradata to use AV_{W,R}L32 instead of AV_{W,R}N32
  - fix version
  - add probe function
  - removed an unnecessary `n = 0`

Zane

Zane van Iperen (2):
  avcodec: add decoder for Rayman 2's ADPCM variant
  avformat: add demuxer for Rayman 2's APM format

 libavcodec/Makefile      |   1 +
 libavcodec/adpcm.c       |  21 +++++
 libavcodec/allcodecs.c   |   1 +
 libavcodec/avcodec.h     |   1 +
 libavcodec/codec_desc.c  |   7 ++
 libavcodec/version.h     |   2 +-
 libavformat/Makefile     |   1 +
 libavformat/allformats.c |   1 +
 libavformat/apm.c        | 188 +++++++++++++++++++++++++++++++++++++++
 libavformat/version.h    |   4 +-
 10 files changed, 224 insertions(+), 3 deletions(-)
 create mode 100644 libavformat/apm.c

-- 
2.17.1




More information about the ffmpeg-devel mailing list