lavfi/sink_buffer: accept unknown channel layouts.
Add a field to the AVBufferSinkParams for a list of accepted channel counts. Change the default value for the lists in AVBufferSinkParams to NULL, to let lavfi fill them with something useful. The fail_enomem path is unneeded because filters are uninited on failure.
Showing
Please
register
or
sign in
to comment