static void opt_format(const char *arg)

{

    /* compatibility stuff for pgmyuv */

    if (!strcmp(arg, "pgmyuv")) {

        opt_image_format(arg);

        arg = "image";

    }



    file_iformat = av_find_input_format(arg);

    file_oformat = guess_format(arg, NULL, NULL);

    if (!file_iformat && !file_oformat) {

        fprintf(stderr, "Unknown input or output format: %s\n", arg);

        exit(1);

    }

}

static void opt_format(const char *arg)

{

    

    if (!strcmp(arg, "pgmyuv")) {

        opt_image_format(arg);

        arg = "image";

    }



    file_iformat = av_find_input_format(arg);

    file_oformat = guess_format(arg, NULL, NULL);

    if (!file_iformat && !file_oformat) {

        fprintf(stderr, "Unknown input or output format: %s\n", arg);

        exit(1);

    }

}

static void FUNC_0(const char *VAR_0)

{

    

    if (!strcmp(VAR_0, "pgmyuv")) {

        opt_image_format(VAR_0);

        VAR_0 = "image";

    }



    file_iformat = av_find_input_format(VAR_0);

    file_oformat = guess_format(VAR_0, NULL, NULL);

    if (!file_iformat && !file_oformat) {

        fprintf(stderr, "Unknown input or output format: %s\n", VAR_0);

        exit(1);

    }

}

static void FUNC_0(const char *VAR_0)
{ if (!strcmp(VAR_0, "pgmyuv")) { opt_image_format(VAR_0); VAR_0 = "image"; } file_iformat = av_find_input_format(VAR_0); file_oformat = guess_format(VAR_0, NULL, NULL); if (!file_iformat && !file_oformat) { fprintf(stderr, "Unknown input or output format: %s\n", VAR_0); exit(1); } }