Extinction conditions of a premixed flame in a channel