19 #ifndef AVCODEC_DVAUDIO_H
20 #define AVCODEC_DVAUDIO_H
26 int samples = buffer[0] & 0x3f;
28 switch ((buffer[3] >> 3) & 0x07) {
30 return samples + (dsf ? 1896 : 1580);
32 return samples + (dsf ? 1742 : 1452);
35 return samples + (dsf ? 1264 : 1053);
static int dv_get_audio_sample_count(const uint8_t *buffer, int dsf)