summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/idct/idct.c2
-rw-r--r--gst-libs/gst/media-info/media-info.c2
-rw-r--r--gst-libs/gst/xwindowlistener/xwindowlistener.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/idct/idct.c b/gst-libs/gst/idct/idct.c
index ea24d44e..16f971bb 100644
--- a/gst-libs/gst/idct/idct.c
+++ b/gst-libs/gst/idct/idct.c
@@ -67,7 +67,7 @@ static void
gst_idct_int_sparse_idct (short *data)
{
short val;
- gint32 v, *dp = (guint32 *) data;
+ gint32 v, *dp = (gint32 *) data;
v = *data;
diff --git a/gst-libs/gst/media-info/media-info.c b/gst-libs/gst/media-info/media-info.c
index 16a66250..f9297ae5 100644
--- a/gst-libs/gst/media-info/media-info.c
+++ b/gst-libs/gst/media-info/media-info.c
@@ -410,7 +410,7 @@ gst_media_info_read (GstMediaInfo * info, const char *location, guint16 flags,
gst_media_info_read_with_idler (info, location, flags, error);
if (*error)
- return FALSE;
+ return NULL;
while (gst_media_info_read_idler (info, &stream, error) && stream == NULL)
/* keep looping */ ;
if (*error)
diff --git a/gst-libs/gst/xwindowlistener/xwindowlistener.c b/gst-libs/gst/xwindowlistener/xwindowlistener.c
index ebbc9ac6..e3721d7c 100644
--- a/gst-libs/gst/xwindowlistener/xwindowlistener.c
+++ b/gst-libs/gst/xwindowlistener/xwindowlistener.c
@@ -196,7 +196,7 @@ gst_xwin_refresh (gpointer data)
xswa.save_under = False;
tmp = XCreateWindow (xwin->main_display, win, 0, 0,
attr.width, attr.height, 0,
- CopyFromParent, InputOutput, CopyFromParent,
+ CopyFromParent, InputOutput, (Visual *) CopyFromParent,
(CWSaveUnder | CWBackingStore | CWOverrideRedirect), &xswa);
XMapWindow (xwin->main_display, tmp);
XUnmapWindow (xwin->main_display, tmp);