diff options
author | James Almer <jamrial@gmail.com> | 2022-03-25 16:46:46 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-03-25 17:10:39 -0300 |
commit | f2967490f16393cc9c3c1a74db1672ada129e06f (patch) | |
tree | be662ef8eb13b7161822fc31506b84705ea47c47 /libavcodec | |
parent | 7602b4e4c219c681ec243a0c81bb8db12b070888 (diff) | |
download | ffmpeg-f2967490f16393cc9c3c1a74db1672ada129e06f.tar.gz |
avutil/channel_layout: return earlier on UNSPEC layouts in av_channel_layout_subset()
No point running all 64 iterations in the loop to never write anything to ret.
Also make ambisonic layouts check its mask too while at it.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions