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