static void rstrip_spaces_buf(AVBPrint *buf)

{

    while (buf->len > 0 && buf->str[buf->len - 1] == ' ')

        buf->str[--buf->len] = 0;

}

static void rstrip_spaces_buf(AVBPrint *buf)

{

    while (buf->len > 0 && buf->str[buf->len - 1] == ' ')

        buf->str[--buf->len] = 0;

}

    while (buf->len > 0 && buf->str[buf->len - 1] == ' ')         buf->str[--buf->len] = 0;
static void FUNC_0(AVBPrint *VAR_0)

{

    while (VAR_0->len > 0 && VAR_0->str[VAR_0->len - 1] == ' ')

        VAR_0->str[--VAR_0->len] = 0;

}

static void FUNC_0(AVBPrint *VAR_0)
{ while (VAR_0->len > 0 && VAR_0->str[VAR_0->len - 1] == ' ')
VAR_0->str[--VAR_0->len] = 0; }