summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-09-09 16:11:48 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-09-09 16:11:48 +0000
commite30601f40007a52d93879efc9143b0d97086a550 (patch)
tree953c112b5cf46929cb1c473d05760038c9d30961
parentdf82aa5a0178395d26dea66a4850e55144c74e9d (diff)
fix compiler warnings
Original commit message from CVS: fix compiler warnings
-rw-r--r--ChangeLog6
-rw-r--r--ext/jpeg/gstsmokeenc.c3
-rw-r--r--ext/jpeg/smokecodec.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 735bdd16..474aaaa7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
+ * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain):
+ * ext/jpeg/smokecodec.c: (find_best_size):
+ fix compiler warnings
+
+2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
+
* gst-plugins-good.spec.in:
spec file fixes
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init),
diff --git a/ext/jpeg/gstsmokeenc.c b/ext/jpeg/gstsmokeenc.c
index 7ec75010..06c02a82 100644
--- a/ext/jpeg/gstsmokeenc.c
+++ b/ext/jpeg/gstsmokeenc.c
@@ -293,7 +293,8 @@ gst_smokeenc_chain (GstPad * pad, GstBuffer * buf)
GstSmokeEnc *smokeenc;
guchar *data, *outdata;
gulong size;
- gint outsize, encsize;
+ gint outsize;
+ guint encsize;
GstBuffer *outbuf;
SmokeCodecFlags flags;
diff --git a/ext/jpeg/smokecodec.c b/ext/jpeg/smokecodec.c
index fb2dbe6e..930aa412 100644
--- a/ext/jpeg/smokecodec.c
+++ b/ext/jpeg/smokecodec.c
@@ -279,7 +279,7 @@ smokecodec_get_bitrate (SmokeCodecInfo * info, unsigned int *bitrate)
}
static void
-find_best_size (int blocks, int *width, int *height)
+find_best_size (int blocks, unsigned int *width, unsigned int *height)
{
int sqchng;
int w, h;