diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-05-13 11:11:26 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-03-15 09:42:38 -0300 |
commit | 7591de37e6b38189396d0dec43549e029847bf48 (patch) | |
tree | 9c86711650807feb38ff726f0475ec62a9dccbdd /libavformat/vivo.c | |
parent | f799b6e23c3c78444250efa9d54af0d93cdd95c3 (diff) | |
download | ffmpeg-7591de37e6b38189396d0dec43549e029847bf48.tar.gz |
vivo: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/vivo.c')
-rw-r--r-- | libavformat/vivo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vivo.c b/libavformat/vivo.c index 2a08e1df03..02df4f0013 100644 --- a/libavformat/vivo.c +++ b/libavformat/vivo.c @@ -249,7 +249,7 @@ static int vivo_read_header(AVFormatContext *s) ast->start_time = 0; ast->codecpar->codec_tag = 0; ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; - ast->codecpar->channels = 1; + ast->codecpar->ch_layout.nb_channels = 1; return 0; } |