mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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
Block a user