[MPlayer-cvslog] r27515 - trunk/libswscale/swscale-example.c
michael
subversion at mplayerhq.hu
Thu Sep 4 17:13:55 CEST 2008
Author: michael
Date: Thu Sep 4 17:13:55 2008
New Revision: 27515
Log:
Add fflush to prevent stdout & stderr from being mixed.
Modified:
trunk/libswscale/swscale-example.c
Modified: trunk/libswscale/swscale-example.c
==============================================================================
--- trunk/libswscale/swscale-example.c (original)
+++ trunk/libswscale/swscale-example.c Thu Sep 4 17:13:55 2008
@@ -139,6 +139,7 @@ static int doTest(uint8_t *ref[3], int r
sws_format_name(dstFormat), dstW, dstH,
flags,
ssdY, ssdU, ssdV);
+ fflush(stdout);
}
end:
@@ -170,6 +171,7 @@ static void selfTest(uint8_t *src[3], in
printf("%s -> %s\n",
sws_format_name(srcFormat),
sws_format_name(dstFormat));
+ fflush(stdout);
srcW= w;
srcH= h;
More information about the MPlayer-cvslog
mailing list