diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-04-04 18:03:48 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-03-15 09:42:34 -0300 |
commit | c26a7507aa723cab3632d8597e98df4fff19f010 (patch) | |
tree | de40878251819d52e37c716129bbd419bf818fe1 /libavformat/tests/movenc.c | |
parent | b828c3954e61145957b60653a1e0957072221923 (diff) | |
download | ffmpeg-c26a7507aa723cab3632d8597e98df4fff19f010.tar.gz |
movenc-test: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/tests/movenc.c')
-rw-r--r-- | libavformat/tests/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tests/movenc.c b/libavformat/tests/movenc.c index ddcb053bf2..6f9d381927 100644 --- a/libavformat/tests/movenc.c +++ b/libavformat/tests/movenc.c @@ -214,7 +214,7 @@ static void init_fps(int bf, int audio_preroll, int fps) st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; st->codecpar->codec_id = AV_CODEC_ID_AAC; st->codecpar->sample_rate = 44100; - st->codecpar->channels = 2; + st->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO; st->time_base.num = 1; st->time_base.den = 44100; st->codecpar->extradata_size = sizeof(aac_extradata); |