cinepakenc: take into account the number of quantised entries