fix compiler warnings

Original commit message from CVS:
fix compiler warnings
This commit is contained in:
Thomas Vander Stichele 2005-09-09 16:11:48 +00:00
parent df82aa5a01
commit e30601f400
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
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:

View 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;

View 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;