1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

Add fflush to prevent stdout & stderr from being mixed.

Originally committed as revision 27515 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Michael Niedermayer 2008-09-04 15:13:55 +00:00
parent 1775c7fac6
commit ae9e0e8391

View File

@ -139,6 +139,7 @@ static int doTest(uint8_t *ref[3], int refStride[3], int w, int h, int srcFormat
sws_format_name(dstFormat), dstW, dstH,
flags,
ssdY, ssdU, ssdV);
fflush(stdout);
}
end:
@ -170,6 +171,7 @@ static void selfTest(uint8_t *src[3], int stride[3], int w, int h){
printf("%s -> %s\n",
sws_format_name(srcFormat),
sws_format_name(dstFormat));
fflush(stdout);
srcW= w;
srcH= h;