[FFmpeg-devel] [PATCH] avformat: add Limitless Audio Format demuxer

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Sep 13 01:01:16 EEST 2022


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.

- Andreas


More information about the ffmpeg-devel mailing list