static int compare_doubles(const double *a, const double *b, int len,

                           double max_diff)

{

    int i;



    for (i = 0; i < len; i++) {

        if (fabs(a[i] - b[i]) > max_diff) {

            av_log(NULL, AV_LOG_ERROR, "%d: %- .12f - %- .12f = % .12g\n",

                   i, a[i], b[i], a[i] - b[i]);

            return -1;

        }

    }

    return 0;

}

static int compare_doubles(const double *a, const double *b, int len,

                           double max_diff)

{

    int i;



    for (i = 0; i < len; i++) {

        if (fabs(a[i] - b[i]) > max_diff) {

            av_log(NULL, AV_LOG_ERROR, "%d: %- .12f - %- .12f = % .12g\n",

                   i, a[i], b[i], a[i] - b[i]);

            return -1;

        }

    }

    return 0;

}

static int FUNC_0(const double *VAR_0, const double *VAR_1, int VAR_2,

                           double VAR_3)

{

    int VAR_4;



    for (VAR_4 = 0; VAR_4 < VAR_2; VAR_4++) {

        if (fabs(VAR_0[VAR_4] - VAR_1[VAR_4]) > VAR_3) {

            av_log(NULL, AV_LOG_ERROR, "%d: %- .12f - %- .12f = % .12g\n",

                   VAR_4, VAR_0[VAR_4], VAR_1[VAR_4], VAR_0[VAR_4] - VAR_1[VAR_4]);

            return -1;

        }

    }

    return 0;

}

static int FUNC_0(const double *VAR_0, const double *VAR_1, int VAR_2,
double VAR_3)
{ int VAR_4; for (VAR_4 = 0; VAR_4 < VAR_2; VAR_4++) { if (fabs(VAR_0[VAR_4] - VAR_1[VAR_4]) > VAR_3) { av_log(NULL, AV_LOG_ERROR, "%d: %- .12f - %- .12f = % .12g\n",
VAR_4, VAR_0[VAR_4], VAR_1[VAR_4], VAR_0[VAR_4] - VAR_1[VAR_4]); return -1; } } return 0; }