Court voids law aimed at animal cruelty videos