changeset 31197:78180f8459a9

Directly mark jpeg_buf_src() as void instead of using some indirection marcro.
author diego
date Sat, 29 May 2010 10:06:29 +0000
parents 986a1dd8c60a
children f9719a497f8e
files libmpcodecs/vd_ijpg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ijpg.c	Fri May 28 21:03:29 2010 +0000
+++ b/libmpcodecs/vd_ijpg.c	Sat May 29 10:06:29 2010 +0000
@@ -110,7 +110,7 @@
 
 METHODDEF(void) term_source (j_decompress_ptr cinfo) { }
 
-static GLOBAL(void) jpeg_buf_src (j_decompress_ptr cinfo, char * inbuf, int bufsize)
+static void jpeg_buf_src (j_decompress_ptr cinfo, char * inbuf, int bufsize)
 {
  my_src_ptr src;
  if (cinfo->src == NULL) cinfo->src=malloc( sizeof( my_source_mgr ) );