int avpriv_snprintf(char *restrict s, size_t n, const char *restrict fmt, ...)

{

    va_list ap;

    int ret;



    va_start(ap, fmt);

    ret = avpriv_vsnprintf(s, n, fmt, ap);

    va_end(ap);



    return ret;

}

int avpriv_snprintf(char *restrict s, size_t n, const char *restrict fmt, ...)

{

    va_list ap;

    int ret;



    va_start(ap, fmt);

    ret = avpriv_vsnprintf(s, n, fmt, ap);

    va_end(ap);



    return ret;

}

int FUNC_0(char *restrict VAR_0, size_t VAR_1, const char *restrict VAR_2, ...)

{

    va_list ap;

    int VAR_3;



    va_start(ap, VAR_2);

    VAR_3 = avpriv_vsnprintf(VAR_0, VAR_1, VAR_2, ap);

    va_end(ap);



    return VAR_3;

}

int FUNC_0(char *restrict VAR_0, size_t VAR_1, const char *restrict VAR_2, ...)
{ va_list ap; int VAR_3; va_start(ap, VAR_2); VAR_3 = avpriv_vsnprintf(VAR_0, VAR_1, VAR_2, ap); va_end(ap); return VAR_3; }