Lines Matching refs:nb_sectors
56 int nb_sectors; /**< number of sectors */
95 if (i >= wf->nb_sectors ||
173 wf->nb_sectors = 1;
180 wf->nb_sectors = read_ints(s->pb, wf->sectors, WTV_SECTOR_SIZE / 4);
191 wf->nb_sectors = 0;
195 wf->nb_sectors += read_ints(s->pb, wf->sectors + i * WTV_SECTOR_SIZE / 4, WTV_SECTOR_SIZE / 4);
204 if (!wf->nb_sectors) {
211 if (size >= 0 && (int64_t)wf->sectors[wf->nb_sectors - 1] << WTV_SECTOR_BITS > size)
216 if (length > ((int64_t)wf->nb_sectors << wf->sector_bits)) {
217 av_log(s, AV_LOG_WARNING, "reported file length (0x%"PRIx64") exceeds number of available sectors (0x%"PRIx64")\n", length, (int64_t)wf->nb_sectors << wf->sector_bits);
218 length = (int64_t)wf->nb_sectors << wf->sector_bits;