mirror of https://github.com/FFmpeg/FFmpeg.git
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>
(cherry picked from commit dc9d64f794
)
release/6.1
parent
9cc7926586
commit
3e79074c41
1 changed files with 7 additions and 2 deletions
Loading…
Reference in new issue