diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-17 23:13:05 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-22 01:16:03 +0200 |
commit | a12338afe5192f23349c0fde8592891be230bfc3 (patch) | |
tree | 1f967638de56ac709246fbf1ec97a8857427f312 /libavutil/adler32.h | |
parent | 03fb801cd97ab203a6beb5bdfc495f16801cc13e (diff) | |
download | ffmpeg-a12338afe5192f23349c0fde8592891be230bfc3.tar.gz |
avcodec/mlpenc: Simplify channel layout comparisons
These encoders have AVCodec.ch_layouts set, so ff_encode_preinit()
has already checked that the used channel layout is equivalent
to one of these native layouts. Therefore one can simply
compare the channel masks (with the added complication
that one has to use av_channel_layout_subset() to get it,
because the channel layout is not guaranteed to have
AV_CHANNEL_ORDER_NATIVE).
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/adler32.h')
0 files changed, 0 insertions, 0 deletions