diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-09-09 16:11:48 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-09-09 16:11:48 +0000 |
commit | e30601f40007a52d93879efc9143b0d97086a550 (patch) | |
tree | 953c112b5cf46929cb1c473d05760038c9d30961 | |
parent | df82aa5a0178395d26dea66a4850e55144c74e9d (diff) |
fix compiler warnings
Original commit message from CVS:
fix compiler warnings
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/jpeg/gstsmokeenc.c | 3 | ||||
-rw-r--r-- | ext/jpeg/smokecodec.c | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -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; |