Lines Matching defs:record
45 int record; /**< current record (with in page) */
62 * @return page containing the requested record or AVERROR_XXX
64 static int find_record(const AnmDemuxContext *anm, int record)
68 if (record >= anm->nb_records)
73 if (p->nb_records > 0 && record >= p->base_record && record < p->base_record + p->nb_records)
113 /* ignore last delta record (used for looping) */
158 anm->record = -1;
184 if (anm->record < 0) {
187 anm->record = 0;
192 if (anm->record >= p->nb_records) {
196 anm->record = -1;
200 /* fetch record size */
203 8 + anm->record * 2, SEEK_SET);
207 /* fetch record */
211 if (p->base_record + anm->record == 0)
214 anm->record++;