Commit 7591de37 authored by Anton Khirnov's avatar Anton Khirnov Committed by James Almer

vivo: convert to new channel layout API

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent f799b6e2
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment