On 9/12/22, Paul B Mahol wrote:
> On 9/12/22, Paul B Mahol wrote:
>> Patch attached.
>>
>
> Updated patch attached.
>
Will apply soon.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscrib
On 9/13/22, Andreas Rheinhardt wrote:
> Paul B Mahol:
>> +case 3:
>> +for (int n = 0; n < st->codecpar->sample_rate; n++)
>> +AV_WL24(pkt->data + n * 3, AV_RL24(s->data + n * s->nb_stored
>> * 3 + s->stored_index * 3));
>> +break;
>
> Looking at intreadwrite.h shows
Paul B Mahol:
> +case 3:
> +for (int n = 0; n < st->codecpar->sample_rate; n++)
> +AV_WL24(pkt->data + n * 3, AV_RL24(s->data + n * s->nb_stored *
> 3 + s->stored_index * 3));
> +break;
Looking at intreadwrite.h shows that we actually have AV_RN24 and AV_WN24.
- A
On 9/12/22, Paul B Mahol wrote:
> Patch attached.
>
Updated patch attached.
From 33efa252db96d9eac7f162f17b22c1cd8b3b1c14 Mon Sep 17 00:00:00 2001
From: Paul B Mahol
Date: Sun, 11 Sep 2022 20:10:27 +0200
Subject: [PATCH] avformat: add LAF demuxer
Signed-off-by: Paul B Mahol
---
libavformat/Ma
Paul B Mahol:
> +static int laf_read_header(AVFormatContext *ctx)
> +{
> +LAFContext *s = ctx->priv_data;
> +AVIOContext *pb = ctx->pb;
> +unsigned st_count, mode;
> +unsigned sample_rate;
> +int64_t duration;
> +int codec_id;
> +int quality;
> +int bpp;
> +
> +a