diff options
author | Vincent Torri <vtorri@univ-evry.fr> | 2007-01-08 12:45:10 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-01-08 12:45:10 +0000 |
commit | fd185066571a02bb59228df7df9b4f717f81a6fd (patch) | |
tree | a99b9c56aae94d053ced74d64efe38ce6cc1139b /ext/jpeg | |
parent | 12359919d3932f49a04382e72be855df53fa1800 (diff) |
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 <vtorri at univ-evry fr>
* 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.
Diffstat (limited to 'ext/jpeg')
-rw-r--r-- | ext/jpeg/gstjpegdec.c | 4 | ||||
-rw-r--r-- | ext/jpeg/gstjpegenc.c | 2 | ||||
-rw-r--r-- | ext/jpeg/smokecodec.c | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index f84aea6e..28cf5ec6 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -192,7 +192,7 @@ gst_jpeg_dec_class_init (GstJpegDecClass * klass) GST_DEBUG_CATEGORY_INIT (jpeg_dec_debug, "jpegdec", 0, "JPEG decoder"); } -static gboolean +static boolean gst_jpeg_dec_fill_input_buffer (j_decompress_ptr cinfo) { /* @@ -230,7 +230,7 @@ gst_jpeg_dec_skip_input_data (j_decompress_ptr cinfo, glong num_bytes) } } -static gboolean +static boolean gst_jpeg_dec_resync_to_restart (j_decompress_ptr cinfo, gint desired) { GST_DEBUG ("resync_to_start"); diff --git a/ext/jpeg/gstjpegenc.c b/ext/jpeg/gstjpegenc.c index 5e85d8a0..9092a919 100644 --- a/ext/jpeg/gstjpegenc.c +++ b/ext/jpeg/gstjpegenc.c @@ -186,7 +186,7 @@ gst_jpegenc_init_destination (j_compress_ptr cinfo) GST_DEBUG ("gst_jpegenc_chain: init_destination"); } -static gboolean +static boolean gst_jpegenc_flush_destination (j_compress_ptr cinfo) { GST_DEBUG ("gst_jpegenc_chain: flush_destination: buffer too small !!!"); 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; |