Commit 5cb02982 authored by James Almer's avatar James Almer

dfpw: convert to new channel layout API

parent a64494df
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment