gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-2182-g9937da2
Date: Mon, 16 Mar 2015 11:15:39 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  9937da2ada50c0c4e1703ac0d85fc57a497a9aa2 (commit)
      from  84f8bfda226cbebd3fdeb43760936023b88b7b63 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=9937da2ada50c0c4e1703ac0d85fc57a497a9aa2


commit 9937da2ada50c0c4e1703ac0d85fc57a497a9aa2
Author: Tomáš Čech <address@hidden>
Date:   Mon Mar 16 12:11:55 2015 +0100

    fix boolean value used in libjpeg

diff --git a/libbase/GnashImageJpeg.cpp b/libbase/GnashImageJpeg.cpp
index f3365f5..bfe34b3 100644
--- a/libbase/GnashImageJpeg.cpp
+++ b/libbase/GnashImageJpeg.cpp
@@ -113,7 +113,7 @@ public:
             if (src->m_start_of_file) {
                 // Treat this as a fatal error.
                 log_error(_("JPEG: Empty jpeg source stream."));
-                return false;
+                return FALSE;
             }
 
             // Insert a fake EOI marker.
@@ -139,7 +139,7 @@ public:
         src->m_pub.bytes_in_buffer = bytes_read;
         src->m_start_of_file = false;
 
-        return true;
+        return TRUE;
     }
 
     // Called by client when it wants to advance past some
@@ -517,13 +517,13 @@ public:
                 != IO_BUF_SIZE) {
             // Error.
             log_error(_("rw_dest_IOChannel couldn't write data."));
-            return false;
+            return FALSE;
         }
 
         dest->m_pub.next_output_byte = dest->m_buffer;
         dest->m_pub.free_in_buffer = IO_BUF_SIZE;
 
-        return true;
+        return TRUE;
     }
 
     /// Terminate the destination. 

-----------------------------------------------------------------------

Summary of changes:
 libbase/GnashImageJpeg.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]