summaryrefslogtreecommitdiff
path: root/jpeg/jdatadst.c
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2020-01-09 19:57:49 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2020-01-09 19:57:49 +0100
commit82d279c2341c88da802b82e0d8732399d4f6b481 (patch)
tree8689e2a5f0b4615767916acf27a7ce4cad1a1743 /jpeg/jdatadst.c
parent8c4930a7d76efdb9c3e627912a100e9abaf3f504 (diff)
Upgrade bundled libjpeg from jpeg-9a to jpeg-9c
Release: 9a - Jan 14, 2018 For further details see README.bundled-libs.txt.
Diffstat (limited to 'jpeg/jdatadst.c')
-rw-r--r--jpeg/jdatadst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/jpeg/jdatadst.c b/jpeg/jdatadst.c
index 5c8681c9e..dcac2293a 100644
--- a/jpeg/jdatadst.c
+++ b/jpeg/jdatadst.c
@@ -2,7 +2,7 @@
* jdatadst.c
*
* Copyright (C) 1994-1996, Thomas G. Lane.
- * Modified 2009-2012 by Guido Vollbeding.
+ * Modified 2009-2017 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
@@ -170,9 +170,9 @@ term_destination (j_compress_ptr cinfo)
if (JFWRITE(dest->outfile, dest->buffer, datacount) != datacount)
ERREXIT(cinfo, JERR_FILE_WRITE);
}
- fflush(dest->outfile);
+ JFFLUSH(dest->outfile);
/* Make sure we wrote the output file OK */
- if (ferror(dest->outfile))
+ if (JFERROR(dest->outfile))
ERREXIT(cinfo, JERR_FILE_WRITE);
}