From fd185066571a02bb59228df7df9b4f717f81a6fd Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Mon, 8 Jan 2007 12:45:10 +0000 Subject: ext/jpeg/: These libjpeg callbacks should return a 'boolean' (unsigned char apparently) and not a 'gboolean' (which m... Original commit message from CVS: Patch by: Vincent Torri * ext/jpeg/gstjpegdec.c: * ext/jpeg/gstjpegenc.c: * ext/jpeg/smokecodec.c: These libjpeg callbacks should return a 'boolean' (unsigned char apparently) and not a 'gboolean' (which maps to gint). Fixes warnings when compiling with MingW (#393427). * gst/rtsp/rtspconnection.c: (rtsp_connection_read): Use ioctlsocket on win32. * gst/udp/gstudpsrc.c: (gst_udpsrc_create): Some printf format fixes for win32. --- ext/jpeg/smokecodec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/jpeg/smokecodec.c') diff --git a/ext/jpeg/smokecodec.c b/ext/jpeg/smokecodec.c index 7fdda082..02246b74 100644 --- a/ext/jpeg/smokecodec.c +++ b/ext/jpeg/smokecodec.c @@ -72,7 +72,7 @@ smokecodec_init_destination (j_compress_ptr cinfo) { } -static int +static boolean smokecodec_flush_destination (j_compress_ptr cinfo) { return 1; @@ -88,7 +88,7 @@ smokecodec_init_source (j_decompress_ptr cinfo) { } -static int +static boolean smokecodec_fill_input_buffer (j_decompress_ptr cinfo) { return 1; @@ -99,7 +99,7 @@ smokecodec_skip_input_data (j_decompress_ptr cinfo, long num_bytes) { } -static int +static boolean smokecodec_resync_to_restart (j_decompress_ptr cinfo, int desired) { return 1; -- cgit