Lines Matching defs:nb_sectors
56 int nb_sectors; /**< number of sectors */
96 if (i >= wf->nb_sectors ||
174 wf->nb_sectors = 1;
181 wf->nb_sectors = read_ints(s->pb, wf->sectors, WTV_SECTOR_SIZE / 4);
192 wf->nb_sectors = 0;
196 wf->nb_sectors += read_ints(s->pb, wf->sectors + i * WTV_SECTOR_SIZE / 4, WTV_SECTOR_SIZE / 4);
205 if (!wf->nb_sectors) {
212 if (size >= 0 && (int64_t)wf->sectors[wf->nb_sectors - 1] << WTV_SECTOR_BITS > size)
217 if (length > ((int64_t)wf->nb_sectors << wf->sector_bits)) {
218 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);
219 length = (int64_t)wf->nb_sectors << wf->sector_bits;