Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec: add support for Cunning Developments' ADPCM

2020-03-24 Thread Zane van Iperen
On Mon, 23 Mar 2020 19:24:27 +0100 "Michael Niedermayer" wrote: > > + > > +const int16_t ff_adpcm_ima_cunning_index_table[8] = { > > +-1, -1, -1, -1, 1, 2, 3, 4, > > +}; > > this could be int8_t > Thanks, fixed. Will send a follow-up patch shortly. > https://ffmpeg.org/mailman/listinfo

Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec: add support for Cunning Developments' ADPCM

2020-03-23 Thread Michael Niedermayer
On Thu, Mar 19, 2020 at 12:00:20PM +, Zane van Iperen wrote: [...] > index 4cce0a5857..a1f6966c75 100644 > --- a/libavcodec/adpcm_data.c > +++ b/libavcodec/adpcm_data.c > @@ -177,3 +177,16 @@ const int16_t ff_adpcm_mtaf_stepsize[32][16] = { > { 424, 1273, 2121, 2970, 3819, 4668, 55

[FFmpeg-devel] [PATCH v3 1/2] avcodec: add support for Cunning Developments' ADPCM

2020-03-19 Thread Zane van Iperen
Signed-off-by: Zane van Iperen --- Changelog | 1 + doc/general.texi| 1 + libavcodec/Makefile | 1 + libavcodec/adpcm.c | 33 + libavcodec/adpcm_data.c | 13 + libavcodec/adpcm_data.h | 2 ++ libavcodec/allcodecs.c |