From: Anton Khirnov <[email protected]>
Signed-off-by: James Almer <[email protected]>
---
libavformat/vivo.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/vivo.c b/libavformat/vivo.c
index 2a08e1df03..114eb212e5 100644
--- a/libavformat/vivo.c
+++ b/libavformat/vivo.c
@@ -249,7 +249,8 @@ 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.order = AV_CHANNEL_ORDER_UNSPEC;
+ ast->codecpar->ch_layout.nb_channels = 1;
return 0;
}
--
2.34.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".