static inline int show_tags(WriterContext *wctx, AVDictionary *tags, int section_id)

{

    AVDictionaryEntry *tag = NULL;

    int ret = 0;



    if (!tags)

        return 0;

    writer_print_section_header(wctx, section_id);



    while ((tag = av_dict_get(tags, "", tag, AV_DICT_IGNORE_SUFFIX))) {

        ret = writer_print_string(wctx, tag->key, tag->value, 0);

        if (ret < 0)

            break;

    }

    writer_print_section_footer(wctx);



    return ret;

}

static inline int show_tags(WriterContext *wctx, AVDictionary *tags, int section_id)

{

    AVDictionaryEntry *tag = NULL;

    int ret = 0;



    if (!tags)

        return 0;

    writer_print_section_header(wctx, section_id);



    while ((tag = av_dict_get(tags, "", tag, AV_DICT_IGNORE_SUFFIX))) {

        ret = writer_print_string(wctx, tag->key, tag->value, 0);

        if (ret < 0)

            break;

    }

    writer_print_section_footer(wctx);



    return ret;

}

static inline int FUNC_0(WriterContext *VAR_0, AVDictionary *VAR_1, int VAR_2)

{

    AVDictionaryEntry *tag = NULL;

    int VAR_3 = 0;



    if (!VAR_1)

        return 0;

    writer_print_section_header(VAR_0, VAR_2);



    while ((tag = av_dict_get(VAR_1, "", tag, AV_DICT_IGNORE_SUFFIX))) {

        VAR_3 = writer_print_string(VAR_0, tag->key, tag->value, 0);

        if (VAR_3 < 0)

            break;

    }

    writer_print_section_footer(VAR_0);



    return VAR_3;

}

static inline int FUNC_0(WriterContext *VAR_0, AVDictionary *VAR_1, int VAR_2)
{ AVDictionaryEntry *tag = NULL; int VAR_3 = 0; if (!VAR_1)
return 0; writer_print_section_header(VAR_0, VAR_2); while ((tag = av_dict_get(VAR_1, "", tag, AV_DICT_IGNORE_SUFFIX))) { VAR_3 = writer_print_string(VAR_0, tag->key, tag->value, 0); if (VAR_3 < 0)
break; } writer_print_section_footer(VAR_0); return VAR_3; }