aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-02-03 19:55:45 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-02-03 19:55:45 +0000
commitcedac8825077c3557b1a42a81c51dd39050dd883 (patch)
tree2ab8c564639f7f60a5af5f9cedcd3890ac639883
parent566cd2cba10078f7b7d454a2dc5b886f638171ef (diff)
downloadffmpeg-cedac8825077c3557b1a42a81c51dd39050dd883.tar.gz
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
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}