From 82d279c2341c88da802b82e0d8732399d4f6b481 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 9 Jan 2020 19:57:49 +0100 Subject: Upgrade bundled libjpeg from jpeg-9a to jpeg-9c Release: 9a - Jan 14, 2018 For further details see README.bundled-libs.txt. --- jpeg/jdatadst.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'jpeg/jdatadst.c') 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); } -- cgit v1.2.3