elbg: switch to av_assert