diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-31 18:59:30 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-03-15 09:42:39 -0300 |
commit | 9fd38874ea087edb73e52d1af63b4f59cae09e02 (patch) | |
tree | 849230b1ded34ab8fcb0fb8bd339c05cad02ecab /libavformat | |
parent | 1e5f4f81af7b907cb0a8a4c9fd4cd5eb5222fc98 (diff) | |
download | ffmpeg-9fd38874ea087edb73e52d1af63b4f59cae09e02.tar.gz |
xmv: convert to new channel layout API
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/xmv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/xmv.c b/libavformat/xmv.c index ec21a4f853..4bff63297a 100644 --- a/libavformat/xmv.c +++ b/libavformat/xmv.c @@ -332,7 +332,7 @@ static int xmv_process_packet_header(AVFormatContext *s) ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; ast->codecpar->codec_id = packet->codec_id; ast->codecpar->codec_tag = packet->compression; - ast->codecpar->channels = packet->channels; + ast->codecpar->ch_layout.nb_channels = packet->channels; ast->codecpar->sample_rate = packet->sample_rate; ast->codecpar->bits_per_coded_sample = packet->bits_per_sample; ast->codecpar->bit_rate = packet->bit_rate; |