static inline void writer_print_rational(WriterContext *wctx,

                                         const char *key, AVRational q, char sep)

{

    AVBPrint buf;

    av_bprint_init(&buf, 0, AV_BPRINT_SIZE_AUTOMATIC);

    av_bprintf(&buf, "%d%c%d", q.num, sep, q.den);

    wctx->writer->print_string(wctx, key, buf.str);

    wctx->nb_item++;

}

static inline void writer_print_rational(WriterContext *wctx,

                                         const char *key, AVRational q, char sep)

{

    AVBPrint buf;

    av_bprint_init(&buf, 0, AV_BPRINT_SIZE_AUTOMATIC);

    av_bprintf(&buf, "%d%c%d", q.num, sep, q.den);

    wctx->writer->print_string(wctx, key, buf.str);

    wctx->nb_item++;

}

static inline void FUNC_0(WriterContext *VAR_0,

                                         const char *VAR_1, AVRational VAR_2, char VAR_3)

{

    AVBPrint buf;

    av_bprint_init(&buf, 0, AV_BPRINT_SIZE_AUTOMATIC);

    av_bprintf(&buf, "%d%c%d", VAR_2.num, VAR_3, VAR_2.den);

    VAR_0->writer->print_string(VAR_0, VAR_1, buf.str);

    VAR_0->nb_item++;

}

static inline void FUNC_0(WriterContext *VAR_0,
const char *VAR_1, AVRational VAR_2, char VAR_3)
{ AVBPrint buf; av_bprint_init(&buf, 0, AV_BPRINT_SIZE_AUTOMATIC); av_bprintf(&buf, "%d%c%d", VAR_2.num, VAR_3, VAR_2.den); VAR_0->writer->print_string(VAR_0, VAR_1, buf.str); VAR_0->nb_item++; }