summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-07-16 14:15:39 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-07-16 14:15:39 +0000
commit32e80c449f3a29513111bceb7583a03fd22ca299 (patch)
tree1239b80146de007f468df7bf2f36933a18d01dd0
parent504c6670699b077479c010d6a109f56542b47ba9 (diff)
downloadgst-plugins-bad-32e80c449f3a29513111bceb7583a03fd22ca299.tar.gz
gst-plugins-bad-32e80c449f3a29513111bceb7583a03fd22ca299.tar.bz2
gst-plugins-bad-32e80c449f3a29513111bceb7583a03fd22ca299.zip
gst/real/gstrealvideodec.c: Add some casts to fix the build on Forte
Original commit message from CVS: * gst/real/gstrealvideodec.c: (open_library): Add some casts to fix the build on Forte
-rw-r--r--ChangeLog5
-rw-r--r--gst/real/gstrealvideodec.c9
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 44b6ce43..4d59b9a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-16 Jan Schmidt <Jan.Schmidt@sun.com>
+
+ * gst/real/gstrealvideodec.c: (open_library):
+ Add some casts to fix the build on Forte
+
2008-07-14 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/deinterlace2/tvtime/greedy.c:
diff --git a/gst/real/gstrealvideodec.c b/gst/real/gstrealvideodec.c
index 27558426..5abe945e 100644
--- a/gst/real/gstrealvideodec.c
+++ b/gst/real/gstrealvideodec.c
@@ -504,10 +504,11 @@ codec_search_done:
goto could_not_load;
}
- lib->Init = rv_init;
- lib->Free = rv_free;
- lib->Transform = rv_transform;
- lib->Message = rv_custom_msg;
+ lib->Init = (guint32 (*)(gpointer, gpointer)) rv_init;
+ lib->Free = (guint32 (*)(gpointer)) rv_free;
+ lib->Transform = (guint32 (*)(gchar *, gchar *, gpointer, gpointer, gpointer))
+ rv_transform;
+ lib->Message = (guint32 (*)(gpointer, gpointer)) rv_custom_msg;
lib->module = module;
dec->error_count = 0;