[SCM] libav/experimental: Use positive logic, improve readability, consistent with r20877.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:56:22 UTC 2013


The following commit has been merged in the experimental branch:
commit a6831e885c4b1474e3fc135741c9726719a409e0
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Fri Dec 25 18:32:16 2009 +0000

    Use positive logic, improve readability, consistent with r20877.
    
    Originally committed as revision 20920 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffmpeg.c b/ffmpeg.c
index 3158068..3fa72c3 100644
--- 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]);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list