diff options
author | Stephen Hutchinson <qyot27@gmail.com> | 2022-08-07 21:25:32 -0400 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-08-07 22:42:27 -0300 |
commit | 765fc3b9431851b936cabe0e9c7c526f9b0da46a (patch) | |
tree | 4bba102042318ef9a336ae379b9a78f3f8687689 /libavformat/avisynth.c | |
parent | dc9843d82932ba93f616f5e2893fd5c2576468c3 (diff) | |
download | ffmpeg-765fc3b9431851b936cabe0e9c7c526f9b0da46a.tar.gz |
avformat/avisynth: cosmetics after nb_channels change
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/avisynth.c')
-rw-r--r-- | libavformat/avisynth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c index ec595dab79..52b926b636 100644 --- a/libavformat/avisynth.c +++ b/libavformat/avisynth.c @@ -750,10 +750,10 @@ static int avisynth_create_stream_audio(AVFormatContext *s, AVStream *st) { AviSynthContext *avs = s->priv_data; - st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; - st->codecpar->sample_rate = avs->vi->audio_samples_per_second; - st->codecpar->ch_layout.nb_channels = avs->vi->nchannels; - st->duration = avs->vi->num_audio_samples; + st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; + st->codecpar->sample_rate = avs->vi->audio_samples_per_second; + st->codecpar->ch_layout.nb_channels = avs->vi->nchannels; + st->duration = avs->vi->num_audio_samples; avpriv_set_pts_info(st, 64, 1, avs->vi->audio_samples_per_second); switch (avs->vi->sample_type) { |