summaryrefslogtreecommitdiffstats
path: root/gst/real/gstrealvideodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/real/gstrealvideodec.c')
-rw-r--r--gst/real/gstrealvideodec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/real/gstrealvideodec.c b/gst/real/gstrealvideodec.c
index 75bc6bc1..be6292f1 100644
--- a/gst/real/gstrealvideodec.c
+++ b/gst/real/gstrealvideodec.c
@@ -461,10 +461,10 @@ codec_search_done:
goto could_not_load;
}
- hooks->init = rv_init;
- hooks->free = rv_free;
- hooks->transform = rv_transform;
- hooks->custom_message = rv_custom_msg;
+ hooks->init = (GstRealVideoDecInitFunc) rv_init;
+ hooks->free = (GstRealVideoDecFreeFunc) rv_free;
+ hooks->transform = (GstRealVideoDecTransformFunc) rv_transform;
+ hooks->custom_message = (GstRealVideoDecMessageFunc) rv_custom_msg;
hooks->module = module;
dec->error_count = 0;