mirror of https://github.com/FFmpeg/FFmpeg.git
check_func will return NULL for functions that have already been tested. If the func is tested and skipped (which happens several times), there is no need to prepare data(randomize_buffers and memcpy). Move relative code in compare_add_res(), prepare data and do check only if the function is not tested. Signed-off-by: Linjie Fu <linjie.fu@intel.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>pull/336/head
parent
8b8492452d
commit
69b9548dd6
1 changed files with 20 additions and 13 deletions
Loading…
Reference in new issue