mirror of https://git.ffmpeg.org/ffmpeg.git
dfpw: convert to new channel layout API
This commit is contained in:
parent
a64494df49
commit
5cb02982a5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue