From cedac8825077c3557b1a42a81c51dd39050dd883 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 3 Feb 2010 19:55:45 +0000 Subject: [PATCH] Make opt_frame_pix_fmt() call show_pix_fmts() if the provided option is "list". Originally committed as revision 21628 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 2253fc5777..cc88dfb087 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2605,7 +2605,7 @@ static void opt_frame_pix_fmt(const char *arg) av_exit(1); } } else { - list_fmts(avcodec_pix_fmt_string, PIX_FMT_NB); + show_pix_fmts(); av_exit(0); } }