From: ffmpeg-devel on behalf of Zane van
Iperen
Sent: 26 April 2021 01:46
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH v5 3/3] avcodec/adpcm: Fixes output from
Westwood ADPCM.
On 26/4/21 6:00 am, Aidan Richmond wrote:
Patch 1/3: lgtm
Patch 2/3:
> +static int wsaud_write_i
> +case AV_CODEC_ID_ADPCM_IMA_WS:
> +{
> +PutBitContext pb;
> +init_put_bits(&pb, dst, pkt_size);
> +
> +av_assert0(avctx->trellis == 0);
> +for (n = frame->nb_samples / 2; n > 0; n--) {
> +/* stereo: 1 byte (2 samples) for left, 1 byte for right
From: ffmpeg-devel on behalf of Michael
Niedermayer
Sent: 20 March 2019 19:08
To: FFmpeg development discussions and patches
Subject: Re: [FFmpeg-devel] [PATCH v2] avformat/westwood_aud: Adds PCM format
demux.
> fails probetest:
>
>
> tools/probetest 256 4096
> testing size=1
> testing size=
tis 2019-03-19 klockan 22:53 + skrev Aidan R:
> @@ -69,13 +75,25 @@ static int wsaud_probe(AVProbeData *p)
>> if (p->buf[10] & 0xFC)
>> return 0;
>>
>> -if (p->buf[11] != 99 && p->buf[11] != 1)
>> +/* valid
PCM format AUD files are found in Westwood's Blade Runner game.
---
libavformat/westwood_aud.c | 83 --
1 file changed, 66 insertions(+), 17 deletions(-)
diff --git a/libavformat/westwood_aud.c b/libavformat/westwood_aud.c
index 9c2d35cb8a..b25d299bf0 1
PCM format AUD files are found in Westwood's Blade Runner game.
---
libavformat/westwood_aud.c | 80 --
1 file changed, 63 insertions(+), 17 deletions(-)
diff --git a/libavformat/westwood_aud.c b/libavformat/westwood_aud.c
index 9c2d35cb8a..5d7e827bc1 1