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:29 -0300 |
commit | 06bc48a87843f51432f62c8a49a666245054907a (patch) | |
tree | f0d958667c38c9abe981cde2eb228ca58a0396fc /libavformat/act.c | |
parent | f696343d13b149b25dba0b76d329560da208e905 (diff) | |
download | ffmpeg-06bc48a87843f51432f62c8a49a666245054907a.tar.gz |
act: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/act.c')
-rw-r--r-- | libavformat/act.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |