diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-18 00:14:51 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-22 01:20:16 +0200 |
commit | ce16d18307559213b20b24c4c824c7014a564590 (patch) | |
tree | 5098e0696ebe785faf001faf087bf6fcab2e31c7 /libavformat/rtpproto.c | |
parent | 66e297fc848a6ec90143b4ace005b4503665e909 (diff) | |
download | ffmpeg-ce16d18307559213b20b24c4c824c7014a564590.tar.gz |
avcodec/dcaenc: Simplify channel layout check
ff_encode_preinit() ensures that the channel layout is equivalent
to one of the channel layouts in AVCodec.ch_layout; given that
all of these channel layouts have distinct numbers of channels,
one can therefore uniquely determine the channel layout by
the number of channels.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/rtpproto.c')
0 files changed, 0 insertions, 0 deletions