avutil/opt: don't set a channel layout if the option is flagged as read only

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2024-05-06 12:24:17 -03:00
parent 2987c65caa
commit 9614efc258