diff src/image.c @ 78863:abdfd1f5b491

(our_memory_buffer): Renamed from omfib_buffer.
author Richard M. Stallman <rms@gnu.org>
date Fri, 21 Sep 2007 23:08:01 +0000
parents c077ece08ff6
children 35f78a0b1e30
line wrap: on
line diff
--- a/src/image.c	Fri Sep 21 23:03:45 2007 +0000
+++ b/src/image.c	Fri Sep 21 23:08:01 2007 +0000
@@ -6769,7 +6769,7 @@
    whenever more data is needed.  We read the whole image in one step,
    so this only adds a fake end of input marker at the end.  */
 
-static JOCTET omfib_buffer[2];
+static JOCTET our_memory_buffer[2];
 
 static boolean
 our_memory_fill_input_buffer (cinfo)
@@ -6778,10 +6778,10 @@
   /* Insert a fake EOI marker.  */
   struct jpeg_source_mgr *src = cinfo->src;
 
-  omfib_buffer[0] = (JOCTET) 0xFF;
-  omfib_buffer[1] = (JOCTET) JPEG_EOI;
-
-  src->next_input_byte = omfib_buffer;
+  our_memory_buffer[0] = (JOCTET) 0xFF;
+  our_memory_buffer[1] = (JOCTET) JPEG_EOI;
+
+  src->next_input_byte = our_memory_buffer;
   src->bytes_in_buffer = 2;
   return 1;
 }