[FFmpeg-soc] [soc]: r1619 - libavfilter/vf_overlay.c

koorogi subversion at mplayerhq.hu
Thu Dec 20 18:30:59 CET 2007


Author: koorogi
Date: Thu Dec 20 18:30:59 2007
New Revision: 1619

Log:
10l.  Thanks to Vitor for pointing it out


Modified:
   libavfilter/vf_overlay.c

Modified: libavfilter/vf_overlay.c
==============================================================================
--- libavfilter/vf_overlay.c	(original)
+++ libavfilter/vf_overlay.c	Thu Dec 20 18:30:59 2007
@@ -141,7 +141,7 @@ static int lower_timestamp(OverlayContex
     if(!over->pics[1][0]) return 1;
 
     if(over->pics[0][0]->pts == over->pics[1][0]->pts) return 2;
-    return !!(over->pics[0][0]->pts < over->pics[1][0]->pts);
+    return (over->pics[0][0]->pts > over->pics[1][0]->pts);
 }
 
 static void copy_image(AVFilterPicRef *dst, int x, int y,



More information about the FFmpeg-soc mailing list