fix compiler warnings
authorThomas Vander Stichele <thomas@apestaart.org>
Fri, 9 Sep 2005 16:11:48 +0000 (16:11 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Fri, 9 Sep 2005 16:11:48 +0000 (16:11 +0000)
Original commit message from CVS:
fix compiler warnings

ChangeLog
ext/jpeg/gstsmokeenc.c
ext/jpeg/smokecodec.c

index 735bdd1..474aaaa 100644 (file)
--- 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),
index 7ec7501..06c02a8 100644 (file)
@@ -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;
 
index fb2dbe6..930aa41 100644 (file)
@@ -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;