1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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;