[SCM] libav/experimental: Parenthesize correctly in TMV probe

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


The following commit has been merged in the experimental branch:
commit 0319ba5e12e242a8c038fe7dbd07a4b9426ee959
Author: Daniel Verkamp <daniel at drv.nu>
Date:   Tue Oct 20 19:07:08 2009 +0000

    Parenthesize correctly in TMV probe
    
    Originally committed as revision 20335 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/tmv.c b/libavformat/tmv.c
index ab6a14f..aab42a6 100644
--- a/libavformat/tmv.c
+++ b/libavformat/tmv.c
@@ -55,7 +55,8 @@ static int tmv_probe(AVProbeData *p)
                !p->buf[8] && // compression method
                 p->buf[9] && // char cols
                 p->buf[10])  // char rows
-        return AVPROBE_SCORE_MAX / (p->buf[9] == 40 && p->buf[10] == 25)? 1 : 4;
+        return AVPROBE_SCORE_MAX /
+            ((p->buf[9] == 40 && p->buf[10] == 25) ? 1 : 4);
     return 0;
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list