From 06bc48a87843f51432f62c8a49a666245054907a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 13 May 2019 11:11:26 +0200 Subject: [PATCH] act: convert to new channel layout API Signed-off-by: James Almer --- libavformat/act.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/act.c b/libavformat/act.c index a369157647..fba106c520 100644 --- a/libavformat/act.c +++ b/libavformat/act.c @@ -88,7 +88,7 @@ static int read_header(AVFormatContext *s) } st->codecpar->frame_size=80; - st->codecpar->channels=1; + st->codecpar->ch_layout.nb_channels = 1; avpriv_set_pts_info(st, 64, 1, 100); st->codecpar->codec_id=AV_CODEC_ID_G729;