diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-18 21:38:08 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-22 01:05:59 +0200 |
commit | 90edbd3185e6fac04aed739e2bdef9c69d574b17 (patch) | |
tree | b60f252f1dbec352e86c541a06d6b52888d378e1 /libavdevice/pulse_audio_enc.c | |
parent | a06a2d89434abd8feb760a943924f3cfacedfda6 (diff) | |
download | ffmpeg-90edbd3185e6fac04aed739e2bdef9c69d574b17.tar.gz |
avcodec/avcodec: Always use old channel count/layout if set
This ensures that if AVCodecContext.channels or
AVCodecContext.channel_layout are set, AVCodecContext.ch_layout
has the equivalent values after this block.
(In case these values are set inconsistently, the consistency check
for ch_layout below will error out.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavdevice/pulse_audio_enc.c')
0 files changed, 0 insertions, 0 deletions