libav libavresample part2