[FFmpeg-devel] [PATCH] avcodec/me_cmp: Remove now incorrect av_assert2()

Martin Storsjö martin at martin.st
Wed Aug 17 11:58:14 EEST 2022


On Wed, 17 Aug 2022, Andreas Rheinhardt wrote:

> Since d69d12a5b9236b9d2f1fd247ea452f84cdd1aaf9 these av_assert2()
> (or more exactly, the ones in hadamard8_diff8x8_c() and
> hadamard8_intra8x8_c()) are hit. So just remove all of these asserts.
> (If the test were improved to know which functions expect h == 8
> and which support any value, the asserts could be readded
> at the appropriate places.)
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> libavcodec/me_cmp.c | 13 -------------
> 1 file changed, 13 deletions(-)

LGTM, thanks!

// Martin



More information about the ffmpeg-devel mailing list