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
This commit is contained in:
Stefano Sabatini 2010-02-03 19:55:45 +00:00
parent 566cd2cba1
commit cedac88250
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }
} }