[FFmpeg-devel] [PATCH 0/2] Simon & Schuster Interactive VAG demuxer + decoder.

Zane van Iperen zane at zanevaniperen.com
Sat Feb 1 06:12:34 EET 2020


Hi all,

This patchset adds support for the VAG container and ADPCM variant used
by some Simon & Schuster Interactive games such as 'Real War',
and 'Real War: Rogue States'.

It has been tested against VAG files from both games.

Some things to note:
* SSI's VAG has no relation to the existing PS2 VAG.
  I've named it 'kvag' (after its tag), but am open to suggestions if this
  is inappropriate (ssi_vag?).
* The ROUNDED_DIV() call causes a (harmless) warning when called with
  unsigned arguments. I'm not sure of the policy for situations like this.

Zane


Zane van Iperen (2):
  avcodec: add decoder for Simon & Schuster Interactive's ADPCM variant
  avformat: add demuxer for Simon & Schuster Interactive's VAG format

 libavcodec/Makefile      |   1 +
 libavcodec/adpcm.c       |  10 +++
 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/kvag.c       | 149 +++++++++++++++++++++++++++++++++++++++
 libavformat/version.h    |   2 +-
 10 files changed, 173 insertions(+), 2 deletions(-)
 create mode 100644 libavformat/kvag.c

-- 
2.17.1




More information about the ffmpeg-devel mailing list