The function av_opt_set_channel_layout has been removed since version 7.0, and the replacement is av_opt_set_chlayout. The documentation needs to be updated accordingly. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>