mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 18:11:11 +01:00
vivo: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
f799b6e23c
commit
7591de37e6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue