diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-08-20 13:09:51 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-08-20 13:09:51 +0000 |
commit | f9dd03ca3b7e2a66df16b96fd7c1b0d89c6a4250 (patch) | |
tree | cc204b5eb25c28b9dc409e570b4d1624426381d1 /ext/gdk_pixbuf | |
parent | 83bedf3e0712370a55718335ddf6c1ff8f784200 (diff) |
use g_assert in _get_unit_size
Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_get_unit_size):
* gst/videobox/gstvideobox.c: (gst_video_box_get_unit_size):
use g_assert in _get_unit_size
Diffstat (limited to 'ext/gdk_pixbuf')
-rw-r--r-- | ext/gdk_pixbuf/pixbufscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gdk_pixbuf/pixbufscale.c b/ext/gdk_pixbuf/pixbufscale.c index 78da1b7e..9c4907b1 100644 --- a/ext/gdk_pixbuf/pixbufscale.c +++ b/ext/gdk_pixbuf/pixbufscale.c @@ -306,7 +306,7 @@ gst_pixbufscale_get_unit_size (GstBaseTransform * trans, GstPixbufScale *pixbufscale; gint width, height; - g_return_val_if_fail (size, FALSE); + g_assert (size); pixbufscale = GST_PIXBUFSCALE (trans); |