mirror of https://github.com/mpv-player/mpv
Directly mark jpeg_buf_src() as void instead of using some indirection marcro.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31259 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
52cc89f751
commit
6dda52e496
|
@ -110,7 +110,7 @@ METHODDEF(void) skip_input_data (j_decompress_ptr cinfo, long num_bytes)
|
|||
|
||||
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 ) );
|
||||
|
|
Loading…
Reference in New Issue