diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-09-04 15:13:55 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-09-04 15:13:55 +0000 |
commit | de4a1aae917088d52779354d27748d8a186ac4e8 (patch) | |
tree | 05efc051982982ffa5661f920c6606780e1b35ba /libswscale | |
parent | bae94777d7ddaa2d4763507fdb93b9520327c9d1 (diff) | |
download | mpv-de4a1aae917088d52779354d27748d8a186ac4e8.tar.bz2 mpv-de4a1aae917088d52779354d27748d8a186ac4e8.tar.xz |
Add fflush to prevent stdout & stderr from being mixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27515 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale-example.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c index 79e21a922a..4bb42162ef 100644 --- a/libswscale/swscale-example.c +++ b/libswscale/swscale-example.c @@ -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; |