static int opt_input_ts_scale(const char *opt, const char *arg)

{

    unsigned int stream;

    double scale;

    char *p;



    stream = strtol(arg, &p, 0);

    if (*p)

        p++;

    scale= strtod(p, &p);



    if(stream >= MAX_STREAMS)

        ffmpeg_exit(1);



    ts_scale = grow_array(ts_scale, sizeof(*ts_scale), &nb_ts_scale, stream + 1);

    ts_scale[stream] = scale;

    return 0;

}

static int opt_input_ts_scale(const char *opt, const char *arg)

{

    unsigned int stream;

    double scale;

    char *p;



    stream = strtol(arg, &p, 0);

    if (*p)

        p++;

    scale= strtod(p, &p);



    if(stream >= MAX_STREAMS)

        ffmpeg_exit(1);



    ts_scale = grow_array(ts_scale, sizeof(*ts_scale), &nb_ts_scale, stream + 1);

    ts_scale[stream] = scale;

    return 0;

}

static int FUNC_0(const char *VAR_0, const char *VAR_1)

{

    unsigned int VAR_2;

    double VAR_3;

    char *VAR_4;



    VAR_2 = strtol(VAR_1, &VAR_4, 0);

    if (*VAR_4)

        VAR_4++;

    VAR_3= strtod(VAR_4, &VAR_4);



    if(VAR_2 >= MAX_STREAMS)

        ffmpeg_exit(1);



    ts_scale = grow_array(ts_scale, sizeof(*ts_scale), &nb_ts_scale, VAR_2 + 1);

    ts_scale[VAR_2] = VAR_3;

    return 0;

}

static int FUNC_0(const char *VAR_0, const char *VAR_1)
{ unsigned int VAR_2; double VAR_3; char *VAR_4; VAR_2 = strtol(VAR_1, &VAR_4, 0); if (*VAR_4)
VAR_4++; VAR_3= strtod(VAR_4, &VAR_4); if(VAR_2 >= MAX_STREAMS)
ffmpeg_exit(1); ts_scale = grow_array(ts_scale, sizeof(*ts_scale), &nb_ts_scale, VAR_2 + 1); ts_scale[VAR_2] = VAR_3; return 0; }