void show_help(void)

{

    const char *prog;

    const OptionDef *po;

    int i, expert;

    

    prog = do_play ? "ffplay" : "ffmpeg";



    printf("%s version " FFMPEG_VERSION ", Copyright (c) 2000, 2001, 2002 Gerard Lantau\n", 

           prog);

    

    if (!do_play) {

        printf("usage: ffmpeg [[options] -i input_file]... {[options] outfile}...\n"

               "Hyper fast MPEG1/MPEG4/H263/RV and AC3/MPEG audio encoder\n");

    } else {

        printf("usage: ffplay [options] input_file...\n"

               "Simple audio player\n");

    }

           

    printf("\n"

           "Main options are:\n");

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

        if (i == 1)

            printf("\nAdvanced options are:\n");

        for(po = options; po->name != NULL; po++) {

            char buf[64];

            expert = (po->flags & OPT_EXPERT) != 0;

            if (expert == i) {

                strcpy(buf, po->name);

                if (po->flags & HAS_ARG) {

                    strcat(buf, " ");

                    strcat(buf, po->argname);

                }

                printf("-%-17s  %s\n", buf, po->help);

            }

        }

    }



    exit(1);

}

void show_help(void)

{

    const char *prog;

    const OptionDef *po;

    int i, expert;

    

    prog = do_play ? "ffplay" : "ffmpeg";



    printf("%s version " FFMPEG_VERSION ", Copyright (c) 2000, 2001, 2002 Gerard Lantau\n", 

           prog);

    

    if (!do_play) {

        printf("usage: ffmpeg [[options] -i input_file]... {[options] outfile}...\n"

               "Hyper fast MPEG1/MPEG4/H263/RV and AC3/MPEG audio encoder\n");

    } else {

        printf("usage: ffplay [options] input_file...\n"

               "Simple audio player\n");

    }

           

    printf("\n"

           "Main options are:\n");

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

        if (i == 1)

            printf("\nAdvanced options are:\n");

        for(po = options; po->name != NULL; po++) {

            char buf[64];

            expert = (po->flags & OPT_EXPERT) != 0;

            if (expert == i) {

                strcpy(buf, po->name);

                if (po->flags & HAS_ARG) {

                    strcat(buf, " ");

                    strcat(buf, po->argname);

                }

                printf("-%-17s  %s\n", buf, po->help);

            }

        }

    }



    exit(1);

}

    exit(1);     printf("%s version " FFMPEG_VERSION ", Copyright (c) 2000, 2001, 2002 Gerard Lantau\n", 
void FUNC_0(void)

{

    const char *VAR_0;

    const OptionDef *VAR_1;

    int VAR_2, VAR_3;

    

    VAR_0 = do_play ? "ffplay" : "ffmpeg";



    printf("%s version " FFMPEG_VERSION ", Copyright (c) 2000, 2001, 2002 Gerard Lantau\n", 

           VAR_0);

    

    if (!do_play) {

        printf("usage: ffmpeg [[options] -VAR_2 input_file]... {[options] outfile}...\n"

               "Hyper fast MPEG1/MPEG4/H263/RV and AC3/MPEG audio encoder\n");

    } else {

        printf("usage: ffplay [options] input_file...\n"

               "Simple audio player\n");

    }

           

    printf("\n"

           "Main options are:\n");

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

        if (VAR_2 == 1)

            printf("\nAdvanced options are:\n");

        for(VAR_1 = options; VAR_1->name != NULL; VAR_1++) {

            char buf[64];

            VAR_3 = (VAR_1->flags & OPT_EXPERT) != 0;

            if (VAR_3 == VAR_2) {

                strcpy(buf, VAR_1->name);

                if (VAR_1->flags & HAS_ARG) {

                    strcat(buf, " ");

                    strcat(buf, VAR_1->argname);

                }

                printf("-%-17s  %s\n", buf, VAR_1->help);

            }

        }

    }



    exit(1);

}

void FUNC_0(void)
{ const char *VAR_0; const OptionDef *VAR_1; int VAR_2, VAR_3; VAR_0 = do_play ? "ffplay" : "ffmpeg"; printf("%s version " FFMPEG_VERSION ", Copyright (c) 2000, 2001, 2002 Gerard Lantau\n",
VAR_0); if (!do_play) { printf("usage: ffmpeg [[options] -VAR_2 input_file]... {[options] outfile}...\n" "Hyper fast MPEG1/MPEG4/H263/RV and AC3/MPEG audio encoder\n"); } else { printf("usage: ffplay [options] input_file...\n"
"Simple audio player\n"); } printf("\n"
"Main options are:\n"); for(VAR_2=0;VAR_2<2;VAR_2++) { if (VAR_2 == 1)
printf("\nAdvanced options are:\n"); for(VAR_1 = options; VAR_1->name != NULL; VAR_1++) { char buf[64]; VAR_3 = (VAR_1->flags & OPT_EXPERT) != 0; if (VAR_3 == VAR_2) { strcpy(buf, VAR_1->name); if (VAR_1->flags & HAS_ARG) { strcat(buf, " "); strcat(buf, VAR_1->argname); } printf("-%-17s  %s\n", buf, VAR_1->help); } } } exit(1); }