Make opt_frame_pix_fmt() call show_pix_fmts() if the provided option
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 3 Feb 2010 19:55:45 +0000 (19:55 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 3 Feb 2010 19:55:45 +0000 (19:55 +0000)
is "list".

Originally committed as revision 21628 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 2253fc5..cc88dfb 100644 (file)
--- 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);
     }
 }