diff options
author | Marton Balint <cus@passwd.hu> | 2024-01-29 20:15:28 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2024-02-09 23:47:24 +0100 |
commit | dc9d64f7941f5b071283e16fa56e3af86e5c84d6 (patch) | |
tree | 6b30370c5486a68ad2b91d9d6bf8b5ce2eb8cfd7 /libavcodec/avs2_parser.c | |
parent | 3d3cad7483785191b99557c78d5a4a551088c549 (diff) | |
download | ffmpeg-dc9d64f7941f5b071283e16fa56e3af86e5c84d6.tar.gz |
avformat/mov_chan: never override number of channels based on chan atom
The channel designation metadata should not override the number of channels.
Let's warn the user if it is inconsistent, and keep the channel layout
unspecified.
Before the conversion to the channel layout API the code only set the mask, but
never overridden the channel count, so this restores the old behaviour.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/avs2_parser.c')
0 files changed, 0 insertions, 0 deletions