change function name according to libav naming rules