dfpw: convert to new channel layout API

This commit is contained in:
James Almer 2022-03-10 10:56:13 -03:00
parent a64494df49
commit 5cb02982a5
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ static int dfpwm_read_header(AVFormatContext *s)
par->codec_type = AVMEDIA_TYPE_AUDIO;
par->codec_id = s->iformat->raw_codec_id;
par->sample_rate = s1->sample_rate;
par->channels = s1->channels;
par->ch_layout.nb_channels = s1->channels;
par->bits_per_coded_sample = 1;
par->block_align = 1;