No need to explicitly specify the buffer here as it is only ever passed to av_log, so av_err2str can be used.