Commit cedac882 authored by Stefano Sabatini's avatar Stefano Sabatini

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
parent 566cd2cb
...@@ -2605,7 +2605,7 @@ static void opt_frame_pix_fmt(const char *arg) ...@@ -2605,7 +2605,7 @@ static void opt_frame_pix_fmt(const char *arg)
av_exit(1); av_exit(1);
} }
} else { } else {
list_fmts(avcodec_pix_fmt_string, PIX_FMT_NB); show_pix_fmts();
av_exit(0); av_exit(0);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment