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.0
parent
ae7cd2fc02
commit
b991129f83
1 changed files with 7 additions and 2 deletions
Loading…
Reference in new issue