diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-31 18:19:23 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-03-15 09:42:36 -0300 |
commit | 82f728828e8b477d82ea2f0b635be5568de55e30 (patch) | |
tree | c5072bbd828c8dc8fc9b5d164236638d843409c5 /libavformat/rmenc.c | |
parent | fcf5aad1a5304c90b055ad39109e58c612f359b9 (diff) |
rm: convert to new channel layout API
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/rmenc.c')
-rw-r--r-- | libavformat/rmenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmenc.c b/libavformat/rmenc.c index 1b2b0ecf38..1fba092b88 100644 --- a/libavformat/rmenc.c +++ b/libavformat/rmenc.c @@ -228,7 +228,7 @@ static int rv10_write_header(AVFormatContext *ctx, avio_wb32(s, 0); /* unknown */ avio_wb16(s, stream->par->sample_rate); /* sample rate */ avio_wb32(s, 0x10); /* unknown */ - avio_wb16(s, stream->par->channels); + avio_wb16(s, stream->par->ch_layout.nb_channels); put_str8(s, "Int0"); /* codec name */ if (stream->par->codec_tag) { avio_w8(s, 4); /* tag length */ |