mbox series

[FFmpeg-devel,v10,0/2] Pro Pinball Series Soundbank demuxer + decoder.

Message ID 20200418002020.13390-1-zane@zanevaniperen.com
Headers show
Series Pro Pinball Series Soundbank demuxer + decoder. | expand

Message

Zane van Iperen April 18, 2020, 12:20 a.m. UTC
Adds support for the soundbank files used by the Pro Pinball series of games.

v10: [7]
  - Change while() to for().

v9: [6]
  - Rebase after codec_id.h changes
  - style fixes
  - Fix an uninitialised variable read

v8: [5]
  - change "goto done" to a return + "goto fail"
  - Handle truncated files
  - Fix potential byte counter desync

v7: [4]
  - Fix empty lines
  - Use av_malloc_array() instead of av_reallocp_array()
  - Replace multiple av_freep()'s with a goto
  - Minor comment cleanups
  - Ask for a sample if unexpected header values are found

v6: [3]
  - fix tools/probetest failure

v5:
  - add probe function
  - add flag #define's

v4: [2]
  - fix adpcm index table type

v3: [1]
  - fix potential memory leak if read_header() fails
  - fix a buffer overread
  - attempt seek before updating state
  - remove unneeded check
  - naming fixes

v2:
  - Add sanity checks in header fields
  - Formatting and comment fixes
  - Change the struct names to match the files

[1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-March/258672.html
[2]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-March/258918.html
[3]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-March/259278.html
[4]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-April/259864.html
[5]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-April/259863.html
[6]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-April/260706.html
[7]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-April/260854.html

Zane van Iperen (2):
  avcodec: add support for Cunning Developments' ADPCM
  avformat: add demuxer for Pro Pinball Series' Soundbanks

 Changelog                |   2 +
 doc/general.texi         |   1 +
 libavcodec/Makefile      |   1 +
 libavcodec/adpcm.c       |  33 +++++
 libavcodec/adpcm_data.c  |  13 ++
 libavcodec/adpcm_data.h  |   2 +
 libavcodec/allcodecs.c   |   1 +
 libavcodec/codec_desc.c  |   7 +
 libavcodec/codec_id.h    |   1 +
 libavcodec/version.h     |   2 +-
 libavformat/Makefile     |   1 +
 libavformat/allformats.c |   1 +
 libavformat/pp_bnk.c     | 293 +++++++++++++++++++++++++++++++++++++++
 libavformat/version.h    |   2 +-
 14 files changed, 358 insertions(+), 2 deletions(-)
 create mode 100644 libavformat/pp_bnk.c

Comments

Zane van Iperen April 21, 2020, 1:25 p.m. UTC | #1
On Sat, 18 Apr 2020 00:20:30 +0000
"Zane van Iperen" <zane@zanevaniperen.com> wrote:

> 
> Zane van Iperen (2):
>   avcodec: add support for Cunning Developments' ADPCM
>   avformat: add demuxer for Pro Pinball Series' Soundbanks
> 
>  Changelog                |   2 +
>  doc/general.texi         |   1 +
>  libavcodec/Makefile      |   1 +
>  libavcodec/adpcm.c       |  33 +++++
>  libavcodec/adpcm_data.c  |  13 ++
>  libavcodec/adpcm_data.h  |   2 +
>  libavcodec/allcodecs.c   |   1 +
>  libavcodec/codec_desc.c  |   7 +
>  libavcodec/codec_id.h    |   1 +
>  libavcodec/version.h     |   2 +-
>  libavformat/Makefile     |   1 +
>  libavformat/allformats.c |   1 +
>  libavformat/pp_bnk.c     | 293
> +++++++++++++++++++++++++++++++++++++++ libavformat/version.h    |
> 2 +- 14 files changed, 358 insertions(+), 2 deletions(-)
>  create mode 100644 libavformat/pp_bnk.c
> 

Ping.

Zane
Zane van Iperen April 24, 2020, 12:38 p.m. UTC | #2
On Sat, 18 Apr 2020 00:20:30 +0000
"Zane van Iperen" <zane@zanevaniperen.com> wrote:

> 
> Adds support for the soundbank files used by the Pro Pinball series
> of games.
> 
Ping again.

Zane