Use positive logic, improve readability, consistent with r20877.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 25 Dec 2009 18:32:16 +0000 (18:32 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 25 Dec 2009 18:32:16 +0000 (18:32 +0000)
Originally committed as revision 20920 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 3158068..3fa72c3 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3736,7 +3736,7 @@ static void opt_target(const char *arg)
 
         opt_format("dv");
 
-        opt_frame_size(norm != PAL ? "720x480" : "720x576");
+        opt_frame_size(norm == PAL ? "720x576" : "720x480");
         opt_frame_pix_fmt(!strncmp(arg, "dv50", 4) ? "yuv422p" :
                           (norm == PAL ? "yuv420p" : "yuv411p"));
         opt_frame_rate(NULL, frame_rates[norm]);