Lines Matching defs:sub
400 AVSubtitle *sub = data;
453 sub->format = ctx->format_id;
454 sub->start_display_time = 0;
455 sub->end_display_time = ctx->sub_duration;
456 sub->num_rects = 0;
457 sub->pts = ctx->pages->pts;
460 sub->rects = av_malloc(sizeof(*sub->rects));
461 if (sub->rects) {
462 sub->num_rects = 1;
463 sub->rects[0] = ctx->pages->sub_rect;
468 av_log(avctx, AV_LOG_DEBUG, "sending empty sub\n");
469 sub->rects = NULL;
471 if (!sub->rects) // no rect was passed