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:37 -0300 |
commit | 81b3ebbae9b42425b524b8ea413845a09e99f578 (patch) | |
tree | 72581b3fac21c9b3e64657e6dc97df294ce3b044 /libavformat/sdxdec.c | |
parent | e968ae81f2dfd035436eabc79f21958824f2a290 (diff) | |
download | ffmpeg-81b3ebbae9b42425b524b8ea413845a09e99f578.tar.gz |
sdx: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/sdxdec.c')
-rw-r--r-- | libavformat/sdxdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sdxdec.c b/libavformat/sdxdec.c index 76fd2caa00..5628278928 100644 --- a/libavformat/sdxdec.c +++ b/libavformat/sdxdec.c @@ -54,7 +54,7 @@ static int sdx_read_header(AVFormatContext *s) return AVERROR(ENOMEM); st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; - st->codecpar->channels = 1; + st->codecpar->ch_layout.nb_channels = 1; st->codecpar->sample_rate = avio_rl32(s->pb); switch (depth) { case 8: |