Use positive logic, improve readability, consistent with r20877.

Originally committed as revision 20920 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2009-12-25 18:32:16 +00:00
parent 0fb669ae9e
commit a6831e885c
1 changed files with 1 additions and 1 deletions

View File

@ -3736,7 +3736,7 @@ static void opt_target(const char *arg)
opt_format("dv"); 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" : opt_frame_pix_fmt(!strncmp(arg, "dv50", 4) ? "yuv422p" :
(norm == PAL ? "yuv420p" : "yuv411p")); (norm == PAL ? "yuv420p" : "yuv411p"));
opt_frame_rate(NULL, frame_rates[norm]); opt_frame_rate(NULL, frame_rates[norm]);