Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec: add decoder for Rayman 2's ADPCM variant

2020-02-20 Thread Zane van Iperen
20/2/20 11:49 pm, Paul B Mahol пишет: > > On 2/20/20, Zane van Iperen wrote: >> Adds support for the ADPCM variant used in Rayman 2's files. >> >> +case AV_CODEC_ID_ADPCM_IMA_APM: >> +for (n = nb_samples / 2; n > 0; n--) { >> +for (channel = 0; channel < avctx->channels;

Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec: add decoder for Rayman 2's ADPCM variant

2020-02-20 Thread Paul B Mahol
On 2/20/20, Zane van Iperen wrote: > Adds support for the ADPCM variant used in Rayman 2's files. > > Signed-off-by: Zane van Iperen > --- > libavcodec/Makefile | 1 + > libavcodec/adpcm.c | 21 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + >

[FFmpeg-devel] [PATCH v3 1/2] avcodec: add decoder for Rayman 2's ADPCM variant

2020-02-20 Thread Zane van Iperen
Adds support for the ADPCM variant used in Rayman 2's files. Signed-off-by: Zane van Iperen --- libavcodec/Makefile | 1 + libavcodec/adpcm.c | 21 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 +++ libavcodec/ver