Unified · Split
| @@ -332,7 +332,7 @@ static int xmv_process_packet_header(AVFormatContext *s) · 331 unmodified lines | ||
| 332 | 332 | ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; |
| 333 | 333 | ast->codecpar->codec_id = packet->codec_id; |
| 334 | 334 | ast->codecpar->codec_tag = packet->compression; |
| 335 | − ast->codecpar->channels = packet->channels; | |
| 335 | + ast->codecpar->ch_layout.nb_channels = packet->channels; | |
| 336 | 336 | ast->codecpar->sample_rate = packet->sample_rate; |
| 337 | 337 | ast->codecpar->bits_per_coded_sample = packet->bits_per_sample; |
| 338 | 338 | ast->codecpar->bit_rate = packet->bit_rate; |