ASSStyle *ff_ass_style_get(ASSSplitContext *ctx, const char *style)

{

    ASS *ass = &ctx->ass;

    int i;



    if (!style || !*style)

        style = "Default";

    for (i=0; i<ass->styles_count; i++)

        if (!strcmp(ass->styles[i].name, style))

            return ass->styles + i;

    return NULL;

}

ASSStyle *ff_ass_style_get(ASSSplitContext *ctx, const char *style)

{

    ASS *ass = &ctx->ass;

    int i;



    if (!style || !*style)

        style = "Default";

    for (i=0; i<ass->styles_count; i++)

        if (!strcmp(ass->styles[i].name, style))

            return ass->styles + i;

    return NULL;

}

        if (!strcmp(ass->styles[i].name, style))
ASSStyle *FUNC_0(ASSSplitContext *ctx, const char *style)

{

    ASS *ass = &ctx->ass;

    int VAR_0;



    if (!style || !*style)

        style = "Default";

    for (VAR_0=0; VAR_0<ass->styles_count; VAR_0++)

        if (!strcmp(ass->styles[VAR_0].name, style))

            return ass->styles + VAR_0;

    return NULL;

}

ASSStyle *FUNC_0(ASSSplitContext *ctx, const char *style)
{ ASS *ass = &ctx->ass; int VAR_0; if (!style || !*style)
style = "Default"; for (VAR_0=0; VAR_0<ass->styles_count; VAR_0++) if (!strcmp(ass->styles[VAR_0].name, style))
return ass->styles + VAR_0; return NULL; }