Revision 0c55c6d3 ffmpeg.c

View differences:

ffmpeg.c
2850 2850
            ffmpeg_exit(1);
2851 2851
        }
2852 2852
    } else {
2853
        list_fmts(av_get_sample_fmt_string, AV_SAMPLE_FMT_NB);
2853
        int i;
2854
        char fmt_str[128];
2855
        for (i = -1; i < AV_SAMPLE_FMT_NB; i++)
2856
            printf("%s\n", av_get_sample_fmt_string(fmt_str, sizeof(fmt_str), i));
2854 2857
        ffmpeg_exit(0);
2855 2858
    }
2856 2859
}

Also available in: Unified diff