Lines Matching refs:nb_pages
64 int nb_pages;
328 if (ctx->nb_pages < MAX_BUFFERED_PAGES) {
329 if ((new_pages = av_realloc_array(ctx->pages, ctx->nb_pages + 1, sizeof(TeletextPage)))) {
330 TeletextPage *cur_page = new_pages + ctx->nb_pages;
344 ctx->pages[ctx->nb_pages++] = *cur_page;
451 if (ctx->nb_pages) {
474 for (i = 0; i < ctx->nb_pages - 1; i++)
476 ctx->nb_pages--;
520 while (ctx->nb_pages)
521 subtitle_rect_free(&ctx->pages[--ctx->nb_pages].sub_rect);